Re: Prevent DLL usage
- From: "Ben Voigt [C++ MVP]" <rbv@xxxxxxxxxxxxx>
- Date: Wed, 8 Apr 2009 19:06:39 -0500
Chris Zopers wrote:
Hello,
I have two .NET dll's, one containing business logic and the other
containing data access logic.
The Business Logic DLL references the Data Access DLL.
Only the Business Logic DLL is allowed to use/reference the Data
Access DLL. No other .net assemblies may use the Data Access DLL. Is
it possible to prevent this DLL from being used by other calling
assemblies and how can this be done?
Don't use public classes.
Use the InternalsVisibleToAttribute.
Greetings,
Chris
*** Sent via Developersdex http://www.developersdex.com ***
.
- Follow-Ups:
- Re: Prevent DLL usage
- From: Chris Zopers
- Re: Prevent DLL usage
- References:
- Prevent DLL usage
- From: Chris Zopers
- Prevent DLL usage
- Prev by Date: Re: If test question
- Next by Date: Returning Objects
- Previous by thread: Re: Prevent DLL usage
- Next by thread: Re: Prevent DLL usage
- Index(es):
Relevant Pages
|