• Advertisement
Sign in to follow this  

[.net] DLL Question

This topic is 4299 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I develop a game engine in C# and compile it into a DLL, can other people steal that DLL and use it? And is there a way to prevent someone from using it? Thanks

Share this post


Link to post
Share on other sites
Advertisement
-not an answer-
Why are you compiling a game into a DLL? That's kinda pointless, since you couldn't run it. Or do you mean compiling part of the game into a .dll and having an exe use the .dll?

-sorta an answer-
But I believe that it would be difficult(probably not impossible) to use a .dll without the proper header and .lib files. On the other hand, people can decompile your .exes and take the (largely unreadable) source from that.

Share this post


Link to post
Share on other sites
Mr_Fhqwhgads,
Check out the MSDN documentation on "Code Signing." That would be the mechanism you would want to use to limit the use of your DLL to particular parties . There are also things you can do like seal your classes or provide only interfaces as public, with the exception of a few Factory objects. Again, I'd have to direct you to the MSDN documentation. This is a fairly complex topic, and there are multiple ways to go about solving it. I know this doesn't help much, but the following links should get you started:

http://msdn.microsoft.com/netframework/programming/classlibraries/
http://msdn.microsoft.com/practices/compcat/default.aspx?pull=/library/en-us/dnbda/html/dalgroadmap.asp

Tanakas...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement