November Happy Hour will be moved to Thursday December 5th.

Class LicenseData

Inheritance
System.Object
LicenseData
Implements
System.ICloneable
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: EPiServer.Licensing
Assembly: EPiServer.Licensing.dll
Version: 11.20.7
Syntax
public sealed class LicenseData : ICloneable

Constructors

LicenseData()

Declaration
public LicenseData()

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

MetaData

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
Type Description
RestrictionCollection

Methods

Clone()

Declaration
public object Clone()
Returns
Type Description
System.Object

GetValidationResults()

Declaration
public ValidationResult GetValidationResults()
Returns
Type Description
ValidationResult

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
Type Description
LicenseDataCollection

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
Type Description
LicenseDataCollection

Validate()

Declaration
public void Validate()

Implements

System.ICloneable

Extension Methods