XdsObjects Help file
XdsObjects Namespace / XdsLicense Class / CurrentLicense Property



CurrentLicense Property
The XdsLicense current in use
Syntax
Public Shared Property CurrentLicense As XdsLicense
Dim value As XdsLicense
 
XdsLicense.CurrentLicense = value
 
value = XdsLicense.CurrentLicense
public static XdsLicense CurrentLicense {get; set;}
public:
static property XdsLicense^ CurrentLicense {
   XdsLicense^ get();
   void set (    XdsLicense^ value);
}
Remarks

Only one license can be in use at any time, and this property allows the developer to choose which of those available (from the InstalledLicenses should be used, or to tell which is currently in use.

If no license has specifically been selected, then XdsObject will use the GetLicense method to obtain one when this method is first called or when a license is first required.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also