Edit

Share via


LicenseUsageMode Enum

Definition

Specifies when the License can be used.

C#
public enum LicenseUsageMode
Inheritance
LicenseUsageMode

Fields

Name Value Description
Runtime 0

Used during runtime.

Designtime 1

Used during design time by a visual designer or the compiler.

Remarks

The LicenseManager and the LicenseContext classes use this enumeration. It is used to set a component's CurrentContext. See the LicenseManager class for details.

For more information on licensing, see How to: License Components and Controls.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

See also