UncleRonin
Well-known member
I have an application with two executables and a common class library in my solution. I want the class library accessible ONLY to these two applications and not to any external applications through the DLL.
How can I make this library 100% open to my solution's projects but prevent outsiders from calling this DLL? I'm doing this in VB and C# so I need to try and work out a way for both languages to accomplish this. I've tried fiddling with Friend and C#'s Internal keywords but at the moment I'm just settling for Public since I have no other choice. At this stage it seems the only way to lock down my logic would be to duplicate my library classes within each individual project :|
Any assistance would be greatly appreciated!
How can I make this library 100% open to my solution's projects but prevent outsiders from calling this DLL? I'm doing this in VB and C# so I need to try and work out a way for both languages to accomplish this. I've tried fiddling with Friend and C#'s Internal keywords but at the moment I'm just settling for Public since I have no other choice. At this stage it seems the only way to lock down my logic would be to duplicate my library classes within each individual project :|
Any assistance would be greatly appreciated!