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

Class LicenseRuntime

Inheritance
System.Object
LicenseRuntime
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 LicenseRuntime

Methods

GetKeyFromResource(Assembly, String)

Declaration
public static RSA GetKeyFromResource(Assembly assembly, string manifestResourceName)
Parameters
Type Name Description
System.Reflection.Assembly assembly
System.String manifestResourceName
Returns
Type Description
System.Security.Cryptography.RSA

LoadLicense()

Declaration
public static LicenseData LoadLicense()
Returns
Type Description
LicenseData

LoadLicense(Stream)

Declaration
public static LicenseData LoadLicense(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream
Returns
Type Description
LicenseData

LoadLicense(Stream, Assembly)

Declaration
public static LicenseData LoadLicense(Stream stream, Assembly assembly)
Parameters
Type Name Description
System.IO.Stream stream
System.Reflection.Assembly assembly
Returns
Type Description
LicenseData

LoadLicense(Assembly)

Declaration
public static LicenseData LoadLicense(Assembly assembly)
Parameters
Type Name Description
System.Reflection.Assembly assembly
Returns
Type Description
LicenseData

LoadLicense(Assembly, String, String, String)

Declaration
public static LicenseData LoadLicense(Assembly assembly, string filename, string licenseName, string publicKeyResource)
Parameters
Type Name Description
System.Reflection.Assembly assembly
System.String filename
System.String licenseName
System.String publicKeyResource
Returns
Type Description
LicenseData

LoadLicense(String)

Declaration
public static LicenseData LoadLicense(string absoluteLicenseFilePath)
Parameters
Type Name Description
System.String absoluteLicenseFilePath
Returns
Type Description
LicenseData

LoadLicense(String, Assembly)

Declaration
public static LicenseData LoadLicense(string absoluteLicenseFilePath, Assembly assembly)
Parameters
Type Name Description
System.String absoluteLicenseFilePath
System.Reflection.Assembly assembly
Returns
Type Description
LicenseData

ValidateLicense()

Declaration
public static void ValidateLicense()

ValidateLicense(String)

Declaration
public static void ValidateLicense(string licenseFilePath)
Parameters
Type Name Description
System.String licenseFilePath

ValidateLicense(String, Assembly)

Declaration
public static void ValidateLicense(string licenseFilePath, Assembly callingAssembly)
Parameters
Type Name Description
System.String licenseFilePath
System.Reflection.Assembly callingAssembly

Extension Methods