WTS_LICENSE_CAPABILITIES structure

Contains information about the licensing capabilities of the client.

Syntax


typedef struct _WTS_LICENSE_CAPABILITIES {
  DWORD         KeyExchangeAlg;
  DWORD         ProtocolVer;
  BOOL          fAuthenticateServer;
  WTS_CERT_TYPE CertType;
  DWORD         cbClientName;
  BYTE          rgbClientName[WTS_LICENSE_CLIENT_NAME_BYTE_LENGTH];
} WTS_LICENSE_CAPABILITIES, *PWTS_LICENSE_CAPABILITIES, WRDS_LICENSE_CAPABILITIES, *PWRDS_LICENSE_CAPABILITIES;

Members

KeyExchangeAlg

Contains an integer that specifies the encryption algorithm. This can be one of the following values.

WTS_KEY_EXCHANGE_ALG_RSA (1)

The RSA algorithm.

WTS_KEY_EXCHANGE_ALG_DH (2)

The Diffie-Hellman algorithm.

ProtocolVer

An integer that specifies the supported licensing protocol. This must be WTS_LICENSE_CURRENT_PROTOCOL_VERSION.

fAuthenticateServer

A Boolean value that specifies whether the client will authenticate the server.

CertType

A WTS_CERT_TYPE enumeration value that specifies the type of the certificate used to obtain the license.

cbClientName

An integer that contains the size, in bytes, of the client name specified by the rgbClientName member.

rgbClientName

The client name, including a terminating null character.

Remarks

This enumeration is used by the RequestLicensingCapabilities method.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Header

Wtsdefs.h (include Wtsprotocol.h)

 

 

Show: