LicenseManager.UsageMode Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the LicenseUsageMode which specifies when you can use the licensed object for the CurrentContext.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public static LicenseUsageMode UsageMode { get; }

Property Value

Type: System.ComponentModel.LicenseUsageMode

One of the LicenseUsageMode values, as specified in the CurrentContext property.

If this property cannot find a CurrentContext value, it returns Runtime.

.NET Framework
Available since 1.1
Return to top
Show: