Class AssemblyLicense
Represents the license that can be validated against the calling assembly.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DevZest.Licensing
Assembly: DevZest.Licensing.dll
Syntax
[Obfuscation(Exclude = true, StripAfterObfuscation = true)]
public sealed class AssemblyLicense : License
Remarks
When publishing an AssemblyLicense, the Data property should be set as the string value returned by AssemblyLicense.GetAssemblyData, otherwise the validation will always fail.
The AssemblyLicense is loaded by AssemblyLicenseProviderAttribute.
Methods
Name | Description |
---|---|
GetAssemblyData(Assembly) | Gets the data for the specified calling assembly. |
GetAssemblyData(String) | Gets the data for the specified calling assembly file. |
Validate() |