Home All Groups Group Topic Archive Search About
Author
18 Dec 2006 2:51 PM
Samuel Shulman
I want to restrict the use of a .dll file to a specific project

Can that be done and how?

Thank you,
Samuel

Author
18 Dec 2006 4:15 PM
Spam Catcher
"Samuel Shulman" <samuel.shul***@ntlworld.com> wrote in
news:O7TGMQrIHHA.2632@TK2MSFTNGP06.phx.gbl:

> I want to restrict the use of a .dll file to a specific project
>
> Can that be done and how?


You can implement Microsoft's license provider.

Or a simplier method could be to check the Calling Assembly's name via the
System.Reflection.Assembly?