Results 1 to 5 of 5

Thread: [RESOLVED] Can someone use a DLL if it's code is obfuscated?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2010
    Posts
    131

    Resolved [RESOLVED] Can someone use a DLL if it's code is obfuscated?

    Just wondering, if I obfuscate my DLL, I know it's code cannot be extracted, at least not without some great knowledge I don't know, but anyway, that's not the point. Is it possible to just use that obfuscated DLL just by adding a reference to it in your project properties?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Can someone use a DLL if it's code is obfuscated?

    Of course. What use would an obfuscated library be if it couldn't be referenced? The purpose of obfuscating is that you can safely give the library to someone else so that they can reference it without fear that they will be able to easily steal your source code. Use but not abuse.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2010
    Posts
    131

    Re: Can someone use a DLL if it's code is obfuscated?

    Hmm, so if I'd want to use it by myself only, how would that be achieved? Like encrypting it or using some other method (don't know about encrypting, but I'm thinking if I encrypt it, it might not work when I add it as a reference, I don't really know).

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Can someone use a DLL if it's code is obfuscated?

    I'm not sure that you really can stop others using your library other than by requiring a license key. The thing is, who is going to know enough about your library to know that it will be useful to them anyway? You could also think about using ILMerge to merge the DLL into your EXE and deploy them as a single assembly.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Apr 2010
    Posts
    131

    Re: Can someone use a DLL if it's code is obfuscated?

    Yeah, I'd guess that is the best bet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width