Is possible to restrict access to my .NET DLL library? My application has more EXE assemblies and I need share some code, but I don’t want someone else could use that.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends on how much you care. A simple way is to make everything internal and then use friend assemblies to allow your assembly to call it.
http://msdn.microsoft.com/en-us/library/0tke9fxk.aspx
Most things you would do can be defeated, but if someone wants to call, they will figure out a way to do it.