Suppose that i have a ".dll" file genereared from a class library and i want this class library to be referenced by certain projects that i have but if someone else wants to reference that class library to his own projects he won't be able to do that, it's like a control on who can can use this library.
Is there a way to achieve that in Microsoft .Net?