Class License
Allows IronWebScraper license keys to be applied globally across an application.
Inheritance
Namespace: IronWebScraper
Assembly: IronWebScraper.dll
Syntax
public static class License : ObjectProperties
IsLicensed
Determines whether this instance of IronWebScraper is Licensed.
Will return false unless a LicenseKey
is set to a valid trial or full license key in
LicenseKey property, Web.Config,
App.Config or appsettings.json in .Net Core.
See https://ironsoftware.com/csharp/webscraper/licensing/ and https://ironsoftware.com/csharp/webscraper/docs/license/license-keys/
Declaration
public static bool IsLicensed { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
LicenseKey
Get Licensed at https://ironsoftware.com/csharp/webscraper/licensing/
For .Net framework applications, a license key can alternatively be
added to Web.Config or App.Config XML file using
<add key="IronWebScraper.LicenseKey" value="IRONWEBSCRAPER-LICENSE-KEY"/>
within the appSettings node.
See https://ironsoftware.com/csharp/webscraper/docs/license/license-keys/
For .Net Core applications, a license key  may be added to
appsettings.json where the key name is "IronWebScraper.LicenseKey"
and the value is a valid IronWebScraper trial or full license key.
See https://ironsoftware.com/csharp/webscraper/licensing/ for licensing options.
Declaration
public static string LicenseKey { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
DisableAppAnalytics()
Disables AppAnalytics for IronWS. Limitations apply.
Declaration
public static void DisableAppAnalytics()IsValidLicense(String)
Determines whether a string license key is valid.
See https://ironsoftware.com/csharp/webscraper/licensing/ for trial, development and commercial deployment licensing options.
Declaration
public static bool IsValidLicense(string licenseKey)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | licenseKey | IronWebScraper license key as a string | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
 |