Namespace: Opc.UaFx.Server
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The Licenser type exposes the following members.
Gets the license conditions used for OPC UA Server development.
C#
public static ILicenseInfo LicenseInfo { get; }
Property Value
An instance representing the license conditions for OPC UA Server development.
Gets or sets the license key used to license this product.
C#
public static string LicenseKey { get; set; }
Property Value
A string value representing the license key used to license this product.
Emits an error message upon evaluation license conditions.
C#
[Conditional("DEBUG")] public static void FailIfEvaluation()
Emits an error message upon expired license conditions.
C#
[Conditional("DEBUG")] public static void FailIfExpired()
Emits an error message upon expired support license conditions.
C#
[Conditional("DEBUG")] public static void FailIfSupportExpired()
Emits an error message upon non-productive license conditions.
C#
[Conditional("DEBUG")] public static void FailIfUnlicensed()
Throws an exception in case of an evaluation license.
C#
public static void ThrowIfEvaluation()
Throws an exception in case of an expired license.
C#
public static void ThrowIfExpired()
Throws an exception in case of a supported expired license.
C#
public static void ThrowIfSupportExpired()
Throws an exception in case of a non-productive license.
C#
public static void ThrowIfUnlicensed()