DeployLX Software Protection System

Resource Encryption and Compression

.NET allows developers to store binary and text data directly in an assembly as a Managed Resource. CodeVeil can protect these resources.

In This Topic

Resource Encryption

You will often store valuable information in the resources of your assembly which should be protected from extraction and unauthorized use.

Remember however that these resources must be completely decrypted at run-time and may be subject to memory-dump attacks by unauthorized users. You should not rely on resource encryption for sensitive information.

The runtime executive will cache the decrypted resource after the first use so there is no performance impact when using encrypted resources.

To Encrypt all Resources

  1. Open your project in the Project Editor.
  2. Navigate to the Embedded Resources group.
  3. Select Encrypt embedded .NET resources.

Resource Compression

Resource Compression can also be used to significantly reduce the size of text and form resources in an assembly.

The runtime executive will cache the decompressed resource after the first use so there is no performance impact when using compressed resources.

To Compress all Resources

  1. Open your project in the Project Editor.
  2. Navigate to the Embedded Resources group.
  3. Select Compress embedded .NET resources.

Satellite Assemblies

During the veiling process CodeVeil will automatically locate satellite assemblies and apply the same transformations on them as the ones embedded in the primary assembly.

If you obfuscate any forms or auto classes, like the Resources, Settings and My* classes you must include the satellite assemblies in the veiling process so that CodeVeil can update the resource names.

See Also