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

Class LicenseWebApi

Inheritance
System.Object
LicenseWebApi
Implements
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.Services
Assembly: EPiServer.Licensing.dll
Version: 11.20.7
Syntax
public class LicenseWebApi : ILicenseWebApi

Constructors

LicenseWebApi()

Declaration
public LicenseWebApi()

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

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

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 Description
Tout
Type Parameters
Name Description
Tout

GetCloudLicense(String)

Declaration
public virtual GetCloudLicenseResponse GetCloudLicense(string activationKey)
Parameters
Type Name Description
System.String activationKey
Returns
Type Description
GetCloudLicenseResponse

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

GetWebClient()

Declaration
protected virtual JsonWebClient GetWebClient()
Returns
Type Description
JsonWebClient

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

Implements

Extension Methods