Method | Description | |
---|---|---|
SimpleLicenseService ( ILicenseService licenseService, ILicenseValidationService licenseValidationService, ILicenseVisualizerService licenseVisualizerService, IExpirationBehavior expirationBehavior ) : System |
Initializes a new instance of the SimpleLicenseService class.
|
|
Validate ( ) : bool |
Validates the license in a very simple manner. This method is wrapper around the ILicenseService. Note that this method might show a dialog so must be run on the UI thread. |
|
ValidateOnServer ( string serverUrl ) : bool |
Validates the license on the server. This method is the same as Validate but also checks the server if the license is valid.
|
Method | Description | |
---|---|---|
EnsureLicenseExists ( ) : bool |
public SimpleLicenseService ( ILicenseService licenseService, ILicenseValidationService licenseValidationService, ILicenseVisualizerService licenseVisualizerService, IExpirationBehavior expirationBehavior ) : System | ||
licenseService | ILicenseService | The license service. |
licenseValidationService | ILicenseValidationService | The license validation service. |
licenseVisualizerService | ILicenseVisualizerService | The license visualizer service. |
expirationBehavior | IExpirationBehavior | The expiration behavior. |
return | System |
public ValidateOnServer ( string serverUrl ) : bool | ||
serverUrl | string | The server URL. |
return | bool |