Class LicenseValidationResult
Describes the outcome of validating the current AjaxUploader license.
Inheritance
LicenseValidationResult
Assembly: AjaxUploader.dll
Syntax
public class LicenseValidationResult
Properties
Edition
Gets the resolved license edition.
Declaration
public LicenseEdition Edition { get; }
Property Value
ErrorMessage
Gets the validation error message when the license is not valid.
Declaration
public string ErrorMessage { get; }
Property Value
IsValid
Gets a value indicating whether validation succeeded.
Declaration
public bool IsValid { get; }
Property Value
Methods
Invalid(string)
Creates a failed validation result with the supplied error message.
Declaration
public static LicenseValidationResult Invalid(string message)
Parameters
| Type |
Name |
Description |
| string |
message |
|
Returns
Valid(LicenseEdition)
Creates a successful validation result for the specified edition.
Declaration
public static LicenseValidationResult Valid(LicenseEdition edition)
Parameters
Returns