C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Server_License_Error_Pdu_Valid_Client

The License Error (Valid Client) PDU is a Standard RDP Connection Sequence PDU sent from server to client during the Licensing phase (see section ). This licensing PDU indicates that the server will not issue the client a license to store and that the Licensing Phase has ended successfully. This is one possible message that may be sent during the Licensing Phase (see [MS-RDPELE] for a detailed discussion of the Remote Desktop Protocol: Licensing Extension).
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_1_12.xml
Inheritance: RdpbcgrServerPdu
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
commonHeader SlowPathPduCommonHeader
preamble LICENSE_PREAMBLE
validClientMessage LICENSE_ERROR_MESSAGE

Public Methods

Method Description
Clone ( ) : StackPacket

Create an instance of the class that is identical to the current PDU.

Server_License_Error_Pdu_Valid_Client ( ) : System

The constructor of the class with no parameter.

Server_License_Error_Pdu_Valid_Client ( RdpbcgrServerSessionContext serverSessionContext ) : System

The constructor of the class.

ToBytes ( ) : byte[]

Method Details

Clone() public method

Create an instance of the class that is identical to the current PDU.
public Clone ( ) : StackPacket
return StackPacket

Server_License_Error_Pdu_Valid_Client() public method

The constructor of the class with no parameter.
public Server_License_Error_Pdu_Valid_Client ( ) : System
return System

Server_License_Error_Pdu_Valid_Client() public method

The constructor of the class.
public Server_License_Error_Pdu_Valid_Client ( RdpbcgrServerSessionContext serverSessionContext ) : System
serverSessionContext RdpbcgrServerSessionContext Specify the session context.
return System

ToBytes() public method

public ToBytes ( ) : byte[]
return byte[]

Property Details

commonHeader public property

The slow path header.
public SlowPathPduCommonHeader commonHeader
return SlowPathPduCommonHeader

preamble public property

Licensing Preamble structure containing header information. The bMsgType field of the preamble structure should be set to ERROR_ALERT (0xFF).
public LICENSE_PREAMBLE preamble
return LICENSE_PREAMBLE

validClientMessage public property

A Licensing Error Message structure. The dwErrorCode field of the error message structure MUST be set to STATUS_VALID_CLIENT (0x00000007) and the dwStateTransition field MUST be set to ST_NO_TRANSITION (0x00000002). The bbErrorInfo field MUST contain an empty binary BLOB of type BB_ERROR_BLOB (0x0004).
public LICENSE_ERROR_MESSAGE validClientMessage
return LICENSE_ERROR_MESSAGE