Method FromLicense
| Improve this Doc View SourceFromLicense(String)
Initializes a new instance of LicenseProviderResult from license XML string.
Declaration
public static LicenseProviderResult FromLicense(string license)
Parameters
Type | Name | Description |
---|---|---|
System.String | license | The license XML string. |
Returns
Type | Description |
---|---|
LicenseProviderResult | The created LicenseProviderResult structure. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
FromLicense(String, Object)
Initializes a new instance of LicenseProviderResult from license XML string, with additional data.
Declaration
public static LicenseProviderResult FromLicense(string license, object data)
Parameters
Type | Name | Description |
---|---|---|
System.String | license | The license XML string. |
System.Object | data | The additional data. |
Returns
Type | Description |
---|---|
LicenseProviderResult | The created LicenseProviderResult structure. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|