LSLicense structure
Contains information about a specific Remote Desktop Services license.
Note
This structure is not defined in any header file. To use this structure, you must define it yourself as shown in this topic.
Syntax
typedef struct _LSLicense {
DWORD dwVersion;
DWORD dwLicenseId;
DWORD dwKeyPackId;
TCHAR szHWID[GUID_MAX_SIZE];
TCHAR szMachineName[MAXCOMPUTERNAMELENGTH];
TCHAR szUserName[MAXUSERNAMELENGTH];
DWORD dwCertSerialLicense;
DWORD dwLicenseSerialNumber;
DWORD ftIssueDate;
DWORD ftExpireDate;
UCHAR ucLicenseStatus;
} LSLicense, *LPLSLicense;
Members
-
dwVersion
-
Version of the license.
-
dwLicenseId
-
ID of the license.
-
dwKeyPackId
-
ID of the LSKeyPack that contains the license.
-
szHWID
-
Hardware ID of the Remote Desktop Connection (RDC) client that was issued the license.
-
szMachineName
-
Name of the Remote Desktop Connection (RDC) client that was issued the license.
-
szUserName
-
Name of the user who was issued the license.
-
dwCertSerialLicense
-
Reserved for future use.
-
dwLicenseSerialNumber
-
Serial number of the license.
-
ftIssueDate
-
Date that the license was issued.
-
ftExpireDate
-
Date that the license will expire.
-
ucLicenseStatus
-
Current status of the license.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |