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()
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
LoadLicense(Stream)
Declaration
public static LicenseData LoadLicense(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
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
LoadLicense(Assembly)
Declaration
public static LicenseData LoadLicense(Assembly assembly)
Parameters
Type |
Name |
Description |
System.Reflection.Assembly |
assembly |
|
Returns
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
LoadLicense(String)
Declaration
public static LicenseData LoadLicense(string absoluteLicenseFilePath)
Parameters
Type |
Name |
Description |
System.String |
absoluteLicenseFilePath |
|
Returns
LoadLicense(String, Assembly)
Declaration
public static LicenseData LoadLicense(string absoluteLicenseFilePath, Assembly assembly)
Parameters
Type |
Name |
Description |
System.String |
absoluteLicenseFilePath |
|
System.Reflection.Assembly |
assembly |
|
Returns
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