Class NoxLicense
- Namespace
- Nox.Grid
- Assembly
- Nox.Grid.dll
NoxGrid license key. Keys are free at https://novnox.dev (version 1.x). Applications work normally without a key; a notice appears only during development (in the designer).
NoxLicense.Register("NOX1....") ' Registers on this computer (same as [Register License Key...] in the designer)
NoxLicense.SetKey("NOX1....") ' Sets the key at run time
public static class NoxLicense
- Inheritance
-
NoxLicense
- Inherited Members
Fields
KoreanRegistrationUrl
Where to get a free license key (Korean page).
public const string KoreanRegistrationUrl = "https://novnox.dev/ko/license/"
Field Value
ProductMajorVersion
The major version of this product.
public const int ProductMajorVersion = 1
Field Value
RegistrationUrl
Where to get a key.
public const string RegistrationUrl = "https://novnox.dev/license/"
Field Value
Properties
Current
The current license: the key set with SetKey, or else the key registered on this computer.
public static NoxLicenseInfo Current { get; }
Property Value
LocalizedRegistrationUrl
Where to get a key, matching the current UI language (Language).
public static string LocalizedRegistrationUrl { get; }
Property Value
MachineKeyPath
The file that stores the key registered on this computer (%APPDATA%\NovNox\NoxGrid\license.key).
public static string MachineKeyPath { get; }
Property Value
MachineLicense
The key registered on this computer.
public static NoxLicenseInfo MachineLicense { get; }
Property Value
Methods
Register(string)
Registers the key on this computer (per user) if it is valid. Returns the validation result.
public static NoxLicenseInfo Register(string key)
Parameters
keystring
Returns
SetKey(string)
Sets the key to use at run time. Returns the validation result.
public static NoxLicenseInfo SetKey(string key)
Parameters
keystring
Returns
Unregister()
Removes the registration from this computer.
public static void Unregister()
Validate(string)
Validates a key (without registering it).
public static NoxLicenseInfo Validate(string key)
Parameters
keystring