CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

AssemblyKeyAttribute Class

This is an assembly attribute to be used to defined the encryption key that should be used to decrypt the license file when it is encrypted. If the value is defined then the license file will be decrypted using the defined key. If the decrypt fails then an exception will be thrown.

Namespace:  CAS.Lib.CodeProtect
Assembly:  CAS.CodeProtect (in CAS.CodeProtect.dll)

Syntax


[AttributeUsageAttribute]
public class AssemblyKeyAttribute : Attribute
<AttributeUsageAttribute> _
Public Class AssemblyKeyAttribute _
	Inherits Attribute
[AttributeUsageAttribute]
public ref class AssemblyKeyAttribute : public Attribute

Examples


c#
C#
[assembly: CAS.Lib.CodeProtectAssemblyOpenLicenseKey("test")]
vb#
C#
<assembly: CAS.Lib.CodeProtectAssemblyOpenLicenseKey("test")>

Inheritance Hierarchy


Object
  Attribute
    CAS.Lib.CodeProtect..::..AssemblyKeyAttribute