Click here to Skip to main content
15,921,169 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I Have created An Assembly for my Block of code, I have also Removed its CLR Headers.
The assembly contains Some public functions as well as some public static functions,
I dont want anyone to reference the assembly in there project and use it, How can i protect the Assembly to restrict others for referencing it.


Prathamesh
Posted

Have a look at below simmilar Question-Answer thread.

http://stackoverflow.com/questions/1109761/protect-c-dll-from-third-party
 
Share this answer
 
You can mark your assembly to be a 'friend' assembly. See this blog[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900