Class LicenseEventArgs
- Namespace
- VisioForge.Core.Types.Events
- Assembly
- VisioForge.Core.dll
Carries the SDK edition that the current configuration requires, together with the feature that
asks for it. Supplied to the OnLicenseRequired event of the capture, playback, editing and
compositor engines.
public class LicenseEventArgs : EventArgsInheritance
Inherited Members
Remarks
VisioForge.Core.Types.Events.LicenseEventArgs.Level is the minimum edition the configuration needs, not the edition that is installed and not a statement that the current license is invalid: the event is raised when the engine starts, before any check of what has been loaded. VisioForge.Core.Types.Events.LicenseEventArgs.Message names the feature that raised the requirement, so it is the part worth showing to a user or writing to a log. This event is not the trial-expiry notification. An expired trial aborts the start instead, with its own message on the video view and in the log. The event is raised on the thread that starts the engine, which is not necessarily the UI thread.
Constructors
LicenseEventArgs(LicenseLevel, string)
Initializes a new instance of the VisioForge.Core.Types.Events.LicenseEventArgs class.
public LicenseEventArgs(LicenseLevel level, string message)Parameters
levelLicenseLevel-
The VisioForge.Core.Types.LicenseLevel of the event.
messagestring-
The message text describing the license event.
Properties
Level
Gets the VisioForge.Core.Types.LicenseLevel associated with the event.
public LicenseLevel Level { get; }Property Value
Message
Gets a descriptive message related to the license event.
public string Message { get; }