License.Verify Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

Verify(String) Verifies that a trial key is valid.
Verify(String, String, String) Verifies license information.

Verify(String)

Verifies that a trial key is valid.
C#
public static bool Verify(
	string trialKey
)

Parameters

trialKey  String
A trial key.

Return Value

Boolean
true if verification succeeded; otherwise false.

Exceptions

LicenseExceptionThe trial key is invalid.

Verify(String, String, String)

Verifies license information.
C#
public static bool Verify(
	string username,
	string organization,
	string serialNumber
)

Parameters

username  String
The username on the license.
organization  String
The organization on the license.
serialNumber  String
The serial number associated with the license.

Return Value

Boolean
true if verification succeeded; otherwise false.

Exceptions

LicenseExceptionThe license key is invalid.

See Also