Class LicenseWebApi
Inheritance
System.Object
LicenseWebApi
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 class LicenseWebApi : ILicenseWebApi
Constructors
LicenseWebApi()
Declaration
Methods
Activate(String, Uri, String)
Declaration
public virtual ActivateSiteResponse Activate(string activationKey, Uri siteUrl, string userName)
Parameters
Type |
Name |
Description |
System.String |
activationKey |
|
System.Uri |
siteUrl |
|
System.String |
userName |
|
Returns
Deactivate(String, Uri, String)
Declaration
public virtual DeactivateSiteResponse Deactivate(string activationKey, Uri siteUrl, string userName)
Parameters
Type |
Name |
Description |
System.String |
activationKey |
|
System.Uri |
siteUrl |
|
System.String |
userName |
|
Returns
Execute<Tout>(Func<JsonWebClient, Tout>, String)
Declaration
protected virtual Tout Execute<Tout>(Func<JsonWebClient, Tout> f, string actionName)
where Tout : ServerResponseBase
Parameters
Type |
Name |
Description |
System.Func<JsonWebClient, Tout> |
f |
|
System.String |
actionName |
|
Returns
Type Parameters
GetCloudLicense(String)
Declaration
public virtual GetCloudLicenseResponse GetCloudLicense(string activationKey)
Parameters
Type |
Name |
Description |
System.String |
activationKey |
|
Returns
GetSiteLicense(String, Uri, String)
Declaration
public virtual GetSiteLicenseResponse GetSiteLicense(string activationKey, Uri siteUrl, string userName)
Parameters
Type |
Name |
Description |
System.String |
activationKey |
|
System.Uri |
siteUrl |
|
System.String |
userName |
|
Returns
GetWebClient()
Declaration
protected virtual JsonWebClient GetWebClient()
Returns
ReportStatus(String, IEnumerable<Uri>, IEnumerable<String>, ExtendedData, Boolean)
Declaration
public virtual ReportStatusResponse ReportStatus(string activationKey, IEnumerable<Uri> sites, IEnumerable<string> servers, ExtendedData extendedData, bool skipProductLicenseCheck)
Parameters
Type |
Name |
Description |
System.String |
activationKey |
|
System.Collections.Generic.IEnumerable<System.Uri> |
sites |
|
System.Collections.Generic.IEnumerable<System.String> |
servers |
|
ExtendedData |
extendedData |
|
System.Boolean |
skipProductLicenseCheck |
|
Returns
Implements
Extension Methods