Class LicenseData
Inheritance
System.Object
LicenseData
Implements
System.ICloneable
Assembly: EPiServer.Licensing.dll
Version: 12.0.3
Syntax
public sealed class LicenseData : Object, ICloneable
Constructors
LicenseData()
Declaration
LicenseData(String)
Declaration
public LicenseData(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
LicenseData(String, IEnumerable<Restriction>)
Declaration
public LicenseData(string name, IEnumerable<Restriction> entries)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Collections.Generic.IEnumerable<Restriction> |
entries |
|
Properties
FileName
Declaration
public string FileName { get; }
Property Value
Type |
Description |
System.String |
|
LicensedCompany
Declaration
public string LicensedCompany { get; set; }
Property Value
Type |
Description |
System.String |
|
LicensedTo
Declaration
public string LicensedTo { get; set; }
Property Value
Type |
Description |
System.String |
|
LicenseNumber
Declaration
public string LicenseNumber { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public NameValueCollection MetaData { get; }
Property Value
Type |
Description |
System.Collections.Specialized.NameValueCollection |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Restrictions
Declaration
public RestrictionCollection Restrictions { get; }
Property Value
Methods
Clone()
Declaration
Returns
Type |
Description |
System.Object |
|
GetValidationResults()
Declaration
public ValidationResult GetValidationResults()
Returns
HasValidMachineRestriction()
Declaration
public bool HasValidMachineRestriction()
Returns
Type |
Description |
System.Boolean |
|
Load(Stream, String, RSA)
Declaration
public static LicenseDataCollection Load(Stream stream, string licenseName, RSA key)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.String |
licenseName |
|
System.Security.Cryptography.RSA |
key |
|
Returns
Load(String, String, RSA)
Declaration
public static LicenseDataCollection Load(string fileName, string licenseName, RSA key)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.String |
licenseName |
|
System.Security.Cryptography.RSA |
key |
|
Returns
Validate()
Declaration
Implements
System.ICloneable
Extension Methods