LicenseInfo Class

This class represents the license information for one product feature (e.g., wRTOS, NET64, etc.). The feature to which an instance of this class applies is specified in property FeatureName.

Inheritance Hierarchy

System.Object
  IntervalZero.MaxRT.wRTOS.wRTOSObject
    IntervalZero.MaxRT.wRTOS.Config.LicenseInfo

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

Syntax

Copy
public class LicenseInfo : wRTOSObject, 
    IConfigLicenseInfo, INotifyPropertyChanged

 

The LicenseInfo class exposes the following members.

Properties

  Name Description

Public property

Edition

Returns a ProductEdition enumerator identifying the edition of the installed product. This property can only be successfully read when property FeatureName equals the value of public field FeatureRuntime.

Public property

ExpirationDate

Returns the date this license will expire. The value of this property is undefined if property IsEvaluation returns false.

Public property

ExpirationDays

Returns the number of days before this license will expire. The value of this property is undefined if property IsEvaluation returns false.

Public property

FeatureName

Returns the feature name for this license.

Public property

HostId

Returns the hostid for this license.

Protected property

IsDisposed

True if the object has been disposed, false otherwise.

(Inherited from wRTOSObject.)

Public property

IsEvaluation

Returns true if this license is a evaluation license. Returns false if it a retail license.

Public property

IsExpired

Returns true is this license is expired, false if not. This property is only defined if property IsEvaluation is true.

Public property

IssuedDate

Returns the date this license was issued.

Public property

LicensedProcessors

Returns the number of licensed processors. The value of this property is undefined when the value of property FeatureName is not equal to the value of public field FeatureRuntime.

Public property

Version

Returns the version of licensed feature

Methods

  Name Description

Public method

Dispose

Dispose method.

(Inherited from wRTOSObject.)

Protected method

OnNotifyPropertyChanged

Called when a property is changed

(Inherited from wRTOSObject.)

Public method

ToString

Override of Object.ToString(). Returns a human-readable representation of this LicenseInfo object.

(Overrides Object.ToString.)

Events

  Name Description

Public event

PropertyChanged

Event Fired when a property value is changed

(Inherited from wRTOSObject.)

Fields

  Name Description

Public field Static member

FeatureBuild

This is the name of the wRTOS Build feature.

Public field Static member

FeatureMaintenance

This is the name of the wRTOS Maintenance feature.

Public field Static member

FeatureRuntime

This is the name of the wRTOS Runtime feature.

Public field Static member

FeatureSDK

This is the name of the wRTOS SDK feature.

Public field Static member

FeatureNetwork

This is the name of the wRTOS Network feature.

Public field Static member

FeatureBuild

This is the name of the wRTOS Build feature.

See Also: