Interface ILicense
Provides functions to activate and deactivate an AdSec API license
Namespace: Oasys.AdSec
Assembly: AdSec_API_IDL.dll
Syntax
public interface ILicenseMethods
ActivateLicense(String, String)
Activates an AdSec API license
Declaration
static ILicenseDetails ActivateLicense(string license_id, string password)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | license_id | License ID provided along with the product | 
| System.String | password | Password provided along with the product | 
Returns
| Type | Description | 
|---|---|
| ILicenseDetails | Details of the license, product and warnings | 
CloseNetworkSession()
Closes the session for a network floating license
Declaration
static bool CloseNetworkSession()Returns
| Type | Description | 
|---|---|
| System.Boolean | Whether the session was closed properly | 
DeactivateLicense()
Deactivates the AdSec API license
Declaration
static ILicenseDetails DeactivateLicense()Returns
| Type | Description | 
|---|---|
| ILicenseDetails | Details of the license, product and warnings |