DeployLX Software Protection System

ProtectResource Compile Time Attribute

Defines the protections to use for an embedded resource.

ProtectResource Attribute

The ProtectResource attribute can be applied only at the assembly level.

Properties

Name

The fully qualified name of the embedded resource to protect.

Encrypt

Indicates if the resource should be encrypted.

Compress

Indicates if the resource should be compressed.

Example Usage

<Attribute:ProtectResource("Xheo.Shared.Logo.png",True,False)>
[assembly: ProtectResource( "Xheo.Shared.Logo.png", true, false)]

ProtectResources Options

The ProtectResources attribute can be applied only at the assembly level and defines the default settings for all embedded resources.

Properties

Encrypt

Indicates if assembly resources should be encrypted.

Compress

Indicates if assembly resources should be compressed.

ProcessSatelliteAssemblies

Indicates if satellite assemblies should be processed as well.

Example Usage

<Attribute:ProtectResources(True,False)>
[assembly: ProtectResources( true, false )]

See Also