IPluginLicense
Interface in Oadm.Sdk.Licensing · Oadm.Sdk.dll
The live license of the plugin (ICorePluginContext.License, ITaskExecutionContext.License, IActionContext.License): the current state, updated when an administrator enters or removes a license and when it or the trial runs out. OADM only checks; the plugin decides what to do without a valid license.
public interface IPluginLicenseProperties
Section titled “Properties”Current
Section titled “Current”PluginLicenseInfo Current { get; }The current state.
IsValid
Section titled “IsValid”bool IsValid { get; }Default implementation
The plugin may run: a valid license, a running trial, or no license needed.
Methods
Section titled “Methods”bool Has(string feature)Default implementation
Whether the license unlocks feature (see PluginLicenseInfo.Has).
long? Limit(string name)Default implementation
The limit name (see PluginLicenseInfo.Limit).
Events
Section titled “Events”Changed
Section titled “Changed”event EventHandler? ChangedRaised after IPluginLicense.Current changed. Runs on a server thread; keep the handler short.