Re: Protecting Assemblies

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Peter Rilling (peter_at_nospam.rilling.net)
Date: 02/16/04


Date: Mon, 16 Feb 2004 10:33:56 -0800

Check out the StrongNameIdentityPermissionAttribute class. This will make
it so that only your, trusted, assemblies can bind to your assemblies. If
someone tries to reference your assemblies, they will get an exception.

"Michael" <anonymous@discussions.microsoft.com> wrote in message
news:F2708B5D-0B71-4DA4-B834-94FD9ED0CA2B@microsoft.com...
> Hi,
>
> When an application is shipped is there a way of un-authroized people from
using the assemblies in their own applications?
>
> Regards,
>
> Michael



Relevant Pages

  • Loading assembly from AppDomain not working anymore
    ... I have a .NET 2.0 application divided in two assemblies; ... This bind starts in LoadFrom load context. ... Native image will not be probed in LoadFrom context. ... No application configuration file found. ...
    (microsoft.public.dotnet.languages.csharp)
  • Dotfuscator linking problem
    ... I am having a problem linking assemblies into one using Dotfuscator ... This bind starts in default load context. ... No application configuration file found. ...
    (microsoft.public.dotnet.general)
  • Dotfuscator linking problem
    ... I am having a problem linking assemblies into one using Dotfuscator ... This bind starts in default load context. ... No application configuration file found. ...
    (microsoft.public.dotnet.general)
  • Treeview binding to database
    ... I am looking to bind the table to a treeview. ... Some assemblies have a ... John ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: circular reference and events
    ... For an object to signal an event to a subscriber, it does need a reference to the object that has subscribed to the event. ... so i thought for the business object to subscribe to a presenter event (go ... That is, you are trying to use types from two different assemblies, in the other assemblies. ... public int Value {get; private set;} ...
    (microsoft.public.dotnet.languages.csharp)