NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

LicenseContext Class

Specifies when the licensed object can be used.

Object
   LicenseContext

[Visual Basic]
Public Class LicenseContext
[C#]
public class LicenseContext
[C++]
public __gc class LicenseContext
[JScript]
public class LicenseContext

Remarks

This class provides the default LicenseContext. It only implements run-time support and it does not support saved license keys.

Notes to Inheritors: If you want to implement design-time license support, you must inherit from this class, and override the following members: UsageMode, GetSavedLicenseKey, and SetSavedLicenseKey. If you want to implement saved license keys, override the SetSavedLicenseKey method.

For more information on licensing, see TBD.

Requirements

Namespace: System.ComponentModel

Assembly: System.dll

See Also

LicenseContext Members | System.ComponentModel Namespace | License | LicenseException | LicenseManager | LicenseProvider | LicenseProviderAttribute | LicFileLicenseProvider | LicenseUsageMode