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!

LicenseManager.CurrentContext

Gets or sets the current LicenseContext which specifies when the licensed object can be used.

[Visual Basic]
Public Shared Property CurrentContext As LicenseContext
[C#]
public static LicenseContext CurrentContext {get; set;}
[C++]
public: __property static LicenseContext* get_CurrentContext();
public: __property static void set_CurrentContext(LicenseContext*);
[JScript]
public static function get CurrentContext() : LicenseContext;
public static function set CurrentContext(LicenseContext);

Property Value

A LicenseContext that specifies when the licensed object can be used.

Remarks

The LicenseContext is passed into all calls to the LicenseProvider.

See Also

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