Partager via


2.2.2.1.1 Product Information (PRODUCT_INFO)

The Product Information packet contains the details of the product license that is required for connecting to the terminal server. The client uses this structure together with the scope list to search for and identify an appropriate license in its license store. Depending on the outcome of the search, the client sends a Client New License Request (section 2.2.2.2), Client License Information packet (section 2.2.2.3), or Licensing Error Message (section 2.2.2.8) to the server.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwVersion

cbCompanyName

pbCompanyName (variable)

...

cbProductId

pbProductId (variable)

...

dwVersion (4 bytes): A 32-bit unsigned integer that contains the license version information. The high-order word contains the major version of the operating system on which the terminal server is running, while the low-order word contains the minor version.<5>

cbCompanyName (4 bytes): An unsigned 32-bit integer that contains the number of bytes in the pbCompanyName field, including the terminating null character. This value MUST be greater than zero.

pbCompanyName (variable): Contains a null-terminated Unicode string that specifies the company name.<6>

cbProductId (4 bytes): An unsigned 32-bit integer that contains the number of bytes in the pbProductId field, including the terminating null character. This value MUST be greater than zero.

pbProductId (variable): Contains a null-terminated Unicode string that identifies the type of the license that is required by the terminal server. It MAY have the following string value.

Value

Meaning

"A02"

Per device or per user license