Alex Rivera | Logout

How to prevent a dll from being loaded in other apps

Asked 2010-05-24T18:10:35.207
9

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

Edit
Report

1 Answer

5

I think you need to be looking into licensing your control(s): http://msdn.microsoft.com/en-us/library/fe8b1eh9.aspx

answered 2010-05-24T18:13:28.987

Your Answer