Class LicenseBuilder
Inheritance
System.Object
LicenseBuilder
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()
Assembly: EPiServer.Licensing.dll
Version: 11.20.7
Syntax
public sealed class LicenseBuilder
Constructors
LicenseBuilder()
Declaration
LicenseBuilder(RSA)
Declaration
public LicenseBuilder(RSA key)
Parameters
Type |
Name |
Description |
System.Security.Cryptography.RSA |
key |
|
LicenseBuilder(String)
Declaration
public LicenseBuilder(string keyName)
Parameters
Type |
Name |
Description |
System.String |
keyName |
|
Methods
AddCloudLicenseRestriction()
Declaration
public void AddCloudLicenseRestriction()
AddCustomRestriction(RestrictionEntry)
Declaration
public void AddCustomRestriction(RestrictionEntry entry)
Parameters
AddIPRangeRestriction(IEnumerable<Tuple<IPAddress, IPAddress>>)
Declaration
public void AddIPRangeRestriction(IEnumerable<Tuple<IPAddress, IPAddress>> addresses)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Tuple<System.Net.IPAddress, System.Net.IPAddress>> |
addresses |
|
AddIPRangeRestriction(IPAddress, IPAddress)
Declaration
public void AddIPRangeRestriction(IPAddress fromAddress, IPAddress toAddress)
Parameters
Type |
Name |
Description |
System.Net.IPAddress |
fromAddress |
|
System.Net.IPAddress |
toAddress |
|
AddIPRestriction(IEnumerable<IPAddress>)
Declaration
public void AddIPRestriction(IEnumerable<IPAddress> addresses)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Net.IPAddress> |
addresses |
|
AddIPRestriction(IPAddress)
Declaration
public void AddIPRestriction(IPAddress address)
Parameters
Type |
Name |
Description |
System.Net.IPAddress |
address |
|
AddLicense(String)
Declaration
public void AddLicense(string licenseName)
Parameters
Type |
Name |
Description |
System.String |
licenseName |
|
AddMACRestriction(IEnumerable<String>)
Declaration
public void AddMACRestriction(IEnumerable<string> addresses)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
addresses |
|
AddMACRestriction(String)
Declaration
public void AddMACRestriction(string address)
Parameters
Type |
Name |
Description |
System.String |
address |
|
Declaration
public void AddMetaData(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
AddMultiServerRestriction(Int32)
Declaration
public void AddMultiServerRestriction(int serverLimit)
Parameters
Type |
Name |
Description |
System.Int32 |
serverLimit |
|
AddMultiSiteRestriction(String, Int32)
Declaration
public void AddMultiSiteRestriction(string licenseId, int multiSiteLimit)
Parameters
Type |
Name |
Description |
System.String |
licenseId |
|
System.Int32 |
multiSiteLimit |
|
AddNotCommercialRestriction()
Declaration
public void AddNotCommercialRestriction()
AddRestriction(Restriction)
Declaration
public void AddRestriction(Restriction restriction)
Parameters
AddValidToRestriction(DateTime)
Declaration
public void AddValidToRestriction(DateTime date)
Parameters
Type |
Name |
Description |
System.DateTime |
date |
|
AddVersionRestriction(Version, Version)
Declaration
public void AddVersionRestriction(Version fromVersion, Version toVersion)
Parameters
Type |
Name |
Description |
System.Version |
fromVersion |
|
System.Version |
toVersion |
|
SaveAs(Stream)
Declaration
public void SaveAs(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
SaveAs(String)
Declaration
public void SaveAs(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Extension Methods