Component.IsLicensed Method

Returns whether the Network Link Layer (NL2) component has a valid license of the same major version as the installed wRTOS Runtime.

Namespace:  IntervalZero.MaxRT.NL2.Config
Assembly:  IntervalZero.MaxRT.NL2.Config (in IntervalZero.MaxRT.NL2.Config.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public IsLicensed()

Return Value

This method returns whether the NL2 is licensed. It throws an MaxRTNativeException if the license status could not be determined.

Possible error codes:

Error code Meaning

RT_ERROR_NO_LICENSE

The NL2 component does not have a valid license.

See Also: