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

The slow-path Input Event PDU is used to transmit input events from client to server.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_7_1_1_3.xml
Inheritance: RdpbcgrClientPdu
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
commonHeader SlowPathPduCommonHeader
numberEvents ushort
pad2Octets ushort
shareDataHeader TS_SHAREDATAHEADER
slowPathInputEvents Collection

Public Methods

Method Description
Clone ( ) : StackPacket

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

TS_INPUT_PDU ( ) : System

The constructor of the class with no parameter.

TS_INPUT_PDU ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrClientContext clientContext ) : System

The constructor of the class.

ToBytes ( ) : byte[]

Encode this structure into byte array.

Private Methods

Method Description
EncodeInputPduData ( ) : byte[]

Encode InputPduData

Method Details

Clone() public method

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

TS_INPUT_PDU() public method

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

TS_INPUT_PDU() public method

The constructor of the class.
public TS_INPUT_PDU ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrClientContext clientContext ) : System
clientContext Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrClientContext Specify the context.
return System

ToBytes() public method

Encode this structure into byte array.
public ToBytes ( ) : byte[]
return byte[]

Property Details

commonHeader public property

The slow path header.
public SlowPathPduCommonHeader,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr commonHeader
return SlowPathPduCommonHeader

numberEvents public property

A 16-bit unsigned integer. The number of slow-path input events packed together in the slowPathInputEvents field.
public ushort numberEvents
return ushort

pad2Octets public property

A 16-bit unsigned integer. Padding. Values in this field are ignored.
public ushort pad2Octets
return ushort

shareDataHeader public property

Share Data Header containing information about the packet. The type subfield of the pduType field of the Share Control Header MUST be set to PDUTYPE_DATAPDU (7). The pduType2 field of the Share Data Header MUST be set to PDUTYPE2_INPUT (28).
public TS_SHAREDATAHEADER,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr shareDataHeader
return TS_SHAREDATAHEADER

slowPathInputEvents public property

A collection of slow-path input events to be processed by the server. The number of events present in this array is given by the numberEvents field.
public Collection slowPathInputEvents
return Collection