Reference Security.

  • Thread starter Thread starter Tim Marsden
  • Start date Start date
T

Tim Marsden

Hi,

I have a solution with serveral projects in it.
Some of the classes are public classes so the can be referenced from
serveral places in my solution.
When built the solution contains a .exe and serveral supporting dlls.

How do I stop other people added a reference to my dlls and using the
function within them. Is there a sercurity setting that only allow projects
in my solution to refernce the dlls.

Regards
Tim
 
For the classes inside the DLL's that you don't want public, make them internal

internal class mysecretclass
{
}
 
Back
Top