Table of Contents

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

string

ProductMajorVersion

The major version of this product.

public const int ProductMajorVersion = 1

Field Value

int

RegistrationUrl

Where to get a key.

public const string RegistrationUrl = "https://novnox.dev/license/"

Field Value

string

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

NoxLicenseInfo

LocalizedRegistrationUrl

Where to get a key, matching the current UI language (Language).

public static string LocalizedRegistrationUrl { get; }

Property Value

string

MachineKeyPath

The file that stores the key registered on this computer (%APPDATA%\NovNox\NoxGrid\license.key).

public static string MachineKeyPath { get; }

Property Value

string

MachineLicense

The key registered on this computer.

public static NoxLicenseInfo MachineLicense { get; }

Property Value

NoxLicenseInfo

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

key string

Returns

NoxLicenseInfo

SetKey(string)

Sets the key to use at run time. Returns the validation result.

public static NoxLicenseInfo SetKey(string key)

Parameters

key string

Returns

NoxLicenseInfo

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

key string

Returns

NoxLicenseInfo