How to prevent a dll from being loaded in other apps

Posted by dhh on Stack Overflow See other posts from Stack Overflow or by dhh
Published on 2010-05-24T18:10:35Z Indexed on 2010/05/24 18:41 UTC
Read the original article Hit count: 289

Hello,

currently I develop a C#.Net application in which I'm using a custom control I developed some time ago. I need the dll to be shipped within the new application - but understandably I do not want the dll file to be used for foreign apps.

That's why I need the custom dll to be somehow compiled within the new application. Currently the dll is copied into the application directory.

Any ideas? Should be trivial imho.

Thanks & regards, Daniel

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET