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

MS-RDPBCGR Server Decoder Class
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites

Public Methods

Method Description
DecodeClientAutoDetectResponsePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Client Auto Detect Response PDU

DecodeClientInfoPdu ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Client Info PDU

DecodeClientInitiateMultitransportResponsePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode a Client Initiate Multitransport Response PDU

DecodeConfirmActivePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Confirm Active PDU

DecodeControlPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Control PDU

DecodeDisconnectProviderUltimatumPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode MCS Disconnect Provider Ultimatum PDU

DecodeFontListPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Font List PDU

DecodeFrameAcknowledgePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Persistent Key List PDU

DecodeMcsAttachUserRequestPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode MCS Attach User Request PDU

DecodeMcsChannelJoinRequestPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode MCS Channel Join Request PDU

DecodeMcsConnectInitialPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode MCS Connect Initial PDU with GCC Conference Create Initial

DecodeMcsErectDomainRequestPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode MCS Erect Domain Request PDU

DecodePdu ( RdpbcgrServerSessionContext serverSessionContext, byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode PDU (entrance method for decoders)

DecodePersistentKeyListPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Persistent Key List PDU

DecodeRefreshRectPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Refresh Rect PDU.

DecodeSecurityExchangePdu ( RdpbcgrServerSessionContext serverSessionContext, byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Security Exchange PDU

DecodeShutdownRequestPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode Server Shutdown Request PDU

DecodeSlowPathInputEventPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Slow-Path Update PDU including Slow-Path Graphics Update PDU and Slow-Path Pointer Update PDU.

DecodeSuppressOutputPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Suppress Output PDU.

DecodeSynchronizePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Synchronize PDU

DecodeTsFpInputPDU ( RdpbcgrServerSessionContext serverSessionContext, byte data ) : StackPacket

Decode Fast-path Update PDU

DecodeVirtualChannelPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket

Decode Virtual Channel PDU

DecodeX224ConnectionRequestPDU ( byte data ) : StackPacket

Decode X.224 Connection Request PDU

ParseNetworkDetectionResponse ( byte data, int &currentIndex, bool isSubHeader = false ) : NETWORK_DETECTION_RESPONSE

Parse Network Detection Response Structures

RdpbcgrServerDecoder ( RdpbcgrServer rdpbcgrServer ) : System

The constructor.

Private Methods

Method Description
CalculateFpUpdatePduLength ( byte length1, byte length2 ) : UInt16

Calculate the overall length of Server Fast-Path Update PDU (based on field values of "length1" and "length2")

DecodeMcsSendDataRequestPDU ( RdpbcgrServerSessionContext serverSessionContext, byte data, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Mcs.DomainMCSPDU domainPdu ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket

Decode MCS Send Data Request PDU

DecodePacketCallback ( object endPoint, byte receivedBytes, int &consumedLength, int &expectedLength ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket[]

Decode RDPBCGR PDUs from the received message bytes

DecryptFastPathInputData ( RdpbcgrServerSessionContext serverSessionContext, byte remainData, byte signatureData, bool isSalted ) : byte[]

Decrypt Fast-path Update Data

DecryptSendDataRequest ( RdpbcgrServerSessionContext serverSessionContext, byte userData, SecurityHeaderType securityHeaderType ) : byte[]

Decrypt Send Data Request

GetBytes ( byte data, int &startIndex, int bytesToRead ) : byte[]

Get specified length of bytes from a byte array (start index is updated according to the specified length)

GetFpEventHeaderInfo ( byte eventHeader, byte &eventFlags, eventCode_Values &eventCode ) : void

Get information from Fast-path Update Header

GetFpInputHeaderInfo ( byte fpInputHeader, nested_TS_FP_UPDATE_PDU_fpOutputHeader_actionCode_Values &actionCode, byte &numberEvents, encryptionFlagsChgd_Values &encryptionFlags ) : void

Get information from Fast-path Output Header

GetPacket ( byte receivedBytes ) : byte[]

Get a complete packet buffer from received bytes

GetSecurityHeaderTypeByContext ( RdpbcgrServerSessionContext serverSessionContext ) : SecurityHeaderType

Get Security Header Type by Server Context

GetShareControlHeaderType ( TS_SHARECONTROLHEADER header ) : ShareControlHeaderType

Get Share Control Header Type [Reference to 2.2.8.1.1.1.1 Share Control Header (TS_SHARECONTROLHEADER)]

GetString ( byte data, int &startIndex, int bytesToRead ) : string
IsFlagExist ( UInt16 flag, UInt16 subFlag ) : bool

Check if the subFlag exists in flag

IsFlagExist ( UInt32 flag, UInt32 subFlag ) : bool

Check if the subFlag exists in flag

IsFlagExist ( byte flag, byte subFlag ) : bool

Check if the subFlag exists in flag

ParseAutoReconnectCookie ( byte data, int &currentIndex ) : ARC_CS_PRIVATE_PACKET

Parse ARC_CS_PRIVATE_PACKET (parser index is updated according to parsed length)

ParseBitmapCacheCellInfo ( byte data, int &index ) : TS_BITMAPCACHE_CELL_CACHE_INFO

Parse TS_BITMAPCACHE_CELL_CACHE_INFO

ParseByte ( byte data, int &index ) : byte

Parse one byte (parser index will be updated by one)

ParseCapsTypeActivation ( byte data ) : TS_WINDOWACTIVATION_CAPABILITYSET

Parse TS_WINDOWACTIVATION_CAPABILITYSET

ParseCapsTypeBitmap ( byte data ) : TS_BITMAP_CAPABILITYSET

Parse TS_BITMAP_CAPABILITYSET

ParseCapsTypeBitmapCache ( byte data ) : TS_BITMAPCACHE_CAPABILITYSET

Parse TS_BITMAPCACHE_CAPABILITYSET

ParseCapsTypeBitmapCacheHostSupport ( byte data ) : TS_BITMAPCACHE_HOSTSUPPORT_CAPABILITYSET

Parse TS_BITMAPCACHE_HOSTSUPPORT_CAPABILITYSET

ParseCapsTypeBitmapCacheRev2 ( byte data ) : TS_BITMAPCACHE_CAPABILITYSET_REV2

Parse TS_BITMAPCACHE_CAPABILITYSET_REV2

ParseCapsTypeBitmapCodecs ( byte data ) : TS_BITMAPCODECS_CAPABILITYSET

Parse TS_BITMAPCODECS_CAPABILITYSET

ParseCapsTypeBrush ( byte data ) : TS_BRUSH_CAPABILITYSET

Parse TS_BRUSH_CAPABILITYSET

ParseCapsTypeColorCache ( byte data ) : TS_COLORCACHE_CAPABILITYSET

Parse TS_COLORCACHE_CAPABILITYSET

ParseCapsTypeCompDesk ( byte data ) : TS_COMPDESK_CAPABILITYSET

Parse TS_COMPDESK_CAPABILITYSET

ParseCapsTypeDrawGdiPlus ( byte data ) : TS_DRAWGRIDPLUS_CAPABILITYSET

Parse TS_RAIL_CAPABILITYSET

ParseCapsTypeDrawNineGridCache ( byte data ) : TS_DRAWNINEGRIDCACHE_CAPABILITYSET

Parse TS_RAIL_CAPABILITYSET

ParseCapsTypeFont ( byte data ) : TS_FONT_CAPABILITYSET

Parse TS_FONT_CAPABILITYSET

ParseCapsTypeGeneral ( byte data ) : TS_GENERAL_CAPABILITYSET

Parse TS_GENERAL_CAPABILITYSET

ParseCapsTypeGlyphCache ( byte data ) : TS_GLYPHCACHE_CAPABILITYSET

Parse TS_GLYPHCACHE_CAPABILITYSET

ParseCapsTypeInput ( byte data ) : TS_INPUT_CAPABILITYSET

Parse TS_INPUT_CAPABILITYSET

ParseCapsTypeLargePointer ( byte data ) : TS_LARGE_POINTER_CAPABILITYSET

Parse TS_LARGE_POINTER_CAPABILITYSET

ParseCapsTypeMultiFragmentUpdate ( byte data ) : TS_MULTIFRAGMENTUPDATE_CAPABILITYSET

Parse TS_MULTIFRAGMENTUPDATE_CAPABILITYSET

ParseCapsTypeOffScreenCache ( byte data ) : TS_OFFSCREEN_CAPABILITYSET

Parse TS_OFFSCREEN_CAPABILITYSET

ParseCapsTypeOrder ( byte data ) : TS_ORDER_CAPABILITYSET

Parse TS_ORDER_CAPABILITYSET

ParseCapsTypePointer ( byte data ) : TS_POINTER_CAPABILITYSET

Parse TS_POINTER_CAPABILITYSET

ParseCapsTypeRail ( byte data ) : TS_RAIL_CAPABILITYSET

Parse TS_RAIL_CAPABILITYSET

ParseCapsTypeShare ( byte data ) : TS_SHARE_CAPABILITYSET

Parse TS_SHARE_CAPABILITYSET

ParseCapsTypeSound ( byte data ) : TS_SOUND_CAPABILITYSET

Parse TS_SOUND_CAPABILITYSET

ParseCapsTypeSurfaceCommands ( byte data ) : TS_SURFCMDS_CAPABILITYSET

Parse TS_SURFCMDS_CAPABILITYSET

ParseCapsTypeVirtualChannel ( byte data ) : TS_VIRTUALCHANNEL_CAPABILITYSET

Parse TS_VIRTUALCHANNEL_CAPABILITYSET

ParseCapsTypeWindow ( byte data ) : TS_WINDOW_CAPABILITYSET

Parse TS_WINDOWACTIVATION_CAPABILITYSET

ParseChannelPduHeader ( byte data, int &currentIndex ) : CHANNEL_PDU_HEADER

Parse CHANNEL_PDU_HEADER (parser index is updated according to parsed length)

ParseClientInfo ( byte data, int &currentIndex ) : TS_INFO_PACKET

Parse TS_INFO_PACKET (parser index is updated according to parsed length)

ParseEntry ( byte data, int &currentIndex ) : TS_BITMAPCACHE_PERSISTENT_LIST_ENTRY

Parse TS_BITMAPCACHE_PERSISTENT_LIST_ENTRY (parser index is updated according to parsed length)

ParseExtMouseEvent ( byte data, int &currentIndex ) : TS_POINTERX_EVENT

Parse TS_POINTERX_EVENT (parser index is updated according to parsed length)

ParseExtendedInfo ( byte data, int &currentIndex, Encoding converter ) : TS_EXTENDED_INFO_PACKET

Parse TS_EXTENDED_INFO_PACKET (parser index is updated according to parsed length)

ParseFragCache ( byte data, int &currentIndex ) : TS_CACHE_DEFINITION

Parse TS_CACHE_DEFINITION

ParseGlyphCache ( byte data, int &currentIndex ) : TS_CACHE_DEFINITION

Parse TS_CACHE_DEFINITION

ParseInclusiveRect ( byte data, int &currentIndex ) : TS_RECTANGLE16

Parse TS_RECTANGLE16 (parser index is updated according to parsed length)

ParseKeyboardEvent ( byte data, int &currentIndex ) : TS_KEYBOARD_EVENT

Parse TS_KEYBOARD_EVENT (parser index is updated according to parsed length)

ParseMcsCommonHeader ( byte data, int &currentIndex, SecurityHeaderType securityHeaderType ) : SlowPathPduCommonHeader

Parse MCS Common Header (parser index is updated according to parsed length)

ParseMcsDomainPdu ( byte data, int &currentIndex ) : DomainMCSPDU

Parse MCS Domain PDU (parser index is updated according to parsed length)

ParseMouseEvent ( byte data, int &currentIndex ) : TS_POINTER_EVENT

Parse TS_POINTER_EVENT (parser index is updated according to parsed length)

ParseRdpNegCorrelationInfo ( byte data, int &currentIndex ) : RDP_NEG_CORRELATION_INFO
ParseRdpNegReq ( byte data, int &currentIndex ) : RDP_NEG_REQ

Parse An optional RDP Negotiation Request (parser index is updated according to parsed length)

ParseRoutingTokenOrCookie ( byte data, byte &routingToken, String &cookie, int &currentIndex ) : void

Parse An optional RDP RoutingToken (parser index is updated according to parsed length)

ParseSecurityExchange ( RdpbcgrServerSessionContext serverSessionContext, byte data, int &currentIndex ) : TS_SECURITY_PACKET

Parse TS_SECURITY_PACKET (parser index is updated according to parsed length)

ParseSlowPathInputEvent ( byte data, int &currentIndex ) : TS_INPUT_EVENT

Parse TS_INPUT_EVENT (parser index is updated according to parsed length)

ParseString ( byte data, int &index, int len ) : string
ParseSyncEvent ( byte data, int &currentIndex ) : TS_SYNC_EVENT

Parse TS_SYNC_EVENT (parser index is updated according to parsed length)

ParseSystemTime ( byte data, int &currentIndex ) : TS_SYSTEMTIME

Parse TS_SYSTEMTIME (parser index is updated according to parsed length)

ParseTimeZone ( byte data, int &currentIndex ) : TS_TIME_ZONE_INFORMATION

Parse TS_TIME_ZONE_INFORMATION (parser index is updated according to parsed length)

ParseTpktHeader ( byte data, int &currentIndex ) : TpktHeader

Parse TpktHeader (parser index is updated according to parsed length)

ParseTsBitmapCodec ( byte data, int &currentIndex ) : TS_BITMAPCODEC

Parse TS_BITMAPCODEC (parser index is updated according to parsed length)

ParseTsBitmapCodecGuid ( byte data, int &currentIndex ) : TS_BITMAPCODEC_GUID

Parse TS_BITMAPCODEC_GUID (parser index is updated according to parsed length)

ParseTsBitmapCodecs ( byte data, int &currentIndex ) : TS_BITMAPCODECS

Parse TS_BITMAPCODECS (parser index is updated according to parsed length)

ParseTsCapsSet ( byte data, int &currentIndex ) : ITsCapsSet

Parse ITsCapsSet (parser index is updated according to parsed length)

ParseTsConfirmActivePdu ( byte data, int &currentIndex ) : TS_CONFIRM_ACTIVE_PDU

Parse TS_CONFIRM_ACTIVE_PDU (parser index is updated according to parsed length)

ParseTsControlPdu ( byte data, int &currentIndex ) : TS_CONTROL_PDU

Parse TS_CONTROL_PDU (parser index is updated according to parsed length)

ParseTsFontListPdu ( byte data, int &currentIndex ) : TS_FONT_LIST_PDU

Parse TS_FONT_LIST_PDU (parser index is updated according to parsed length)

ParseTsFpFipsInfo ( byte data, int &currentIndex ) : TS_FP_FIPS_INFO

Parse TS_FP_FIPS_INFO (parser index is updated according to parsed length)

ParseTsFpInputEvents ( byte data, int &currentIndex ) : Collection

Parse TS_FP_UPDATE array (parser index is updated according to parsed length)

ParseTsFpInputMouse ( byte data, int &currentIndex ) : TS_FP_POINTER_EVENT

Parse TS_FP_POINTER_EVENT (parser index is updated according to parsed length)

ParseTsFpInputMousex ( byte data, int &currentIndex ) : TS_FP_POINTERX_EVENT

Parse TS_FP_POINTERX_EVENT (parser index is updated according to parsed length)

ParseTsFpInputScancode ( byte data, int &currentIndex ) : TS_FP_KEYBOARD_EVENT

Parse TS_FP_KEYBOARD_EVENT (parser index is updated according to parsed length)

ParseTsFpInputUnicode ( byte data, int &currentIndex ) : TS_FP_UNICODE_KEYBOARD_EVENT

Parse TS_FP_UNICODE_KEYBOARD_EVENT (parser index is updated according to parsed length)

ParseTsPersistentListPdu ( byte data, int &currentIndex ) : TS_BITMAPCACHE_PERSISTENT_LIST_PDU

Parse TS_BITMAPCACHE_PERSISTENT_LIST_PDU (parser index is updated according to parsed length)

ParseTsRefreshRectPdu ( byte data, int &currentIndex ) : TS_REFRESH_RECT_PDU

Parse TS_REFRESH_RECT_PDU (parser index is updated according to parsed length)

ParseTsSecurityHeader ( byte data, int &currentIndex, SecurityHeaderType headerType ) : TS_SECURITY_HEADER

Parse Security Header (parser index is updated according to parsed length)

ParseTsSecurityHeaderBasic ( byte data, int &currentIndex ) : TS_SECURITY_HEADER

Parse TS_SECURITY_HEADER (BASIC) (parser index is updated according to parsed length)

ParseTsSecurityHeaderFips ( byte data, int &currentIndex ) : TS_SECURITY_HEADER

Parse TS_SECURITY_HEADER (FIPS) (parser index is updated according to parsed length)

ParseTsSecurityHeaderNonFips ( byte data, int &currentIndex ) : TS_SECURITY_HEADER

Parse TS_SECURITY_HEADER (NON-FIPS) (parser index is updated according to parsed length)

ParseTsShareControlHeader ( byte data, int &currentIndex ) : TS_SHARECONTROLHEADER

Parse TS_SHARECONTROLHEADER (parser index is updated according to parsed length)

ParseTsShareDataHeader ( byte data, int &currentIndex ) : TS_SHAREDATAHEADER

Parse TS_SHAREDATAHEADER (parser index is updated according to parsed length)

ParseTsShutdownReuqestPdu ( byte data, int &currentIndex ) : TS_SHUTDOWN_REQ_PDU

Parse TS_SHUTDOWN_REQ_PDU (parser index is updated according to parsed length)

ParseTsSuppressOutputPdu ( byte data, int &currentIndex ) : TS_SUPPRESS_OUTPUT_PDU

Parse TS_SUPPRESS_OUTPUT_PDU (parser index is updated according to parsed length)

ParseTsSynchronizePdu ( byte data, int &currentIndex ) : TS_SYNCHRONIZE_PDU

Parse TS_SYNCHRONIZE_PDU (parser index is updated according to parsed length)

ParseTsUdCsCluster ( byte data, int &currentIndex ) : TS_UD_CS_CLUSTER

Parse TS_UD_CS_CLUSTER (parser index is updated according to parsed length)

ParseTsUdCsCore ( byte data, int &currentIndex, int length ) : TS_UD_CS_CORE

Parse TS_UD_CS_CORE (parser index is updated according to parsed length)

ParseTsUdCsMcsMsgChannel ( byte data, int &currentIndex ) : TS_UD_CS_MCS_MSGCHANNEL

Parse TS_UD_CS_MCS_MSGCHANNEL (parser index is updated according to parsed length)

ParseTsUdCsMon ( byte data, int &currentIndex ) : TS_UD_CS_MONITOR

Parse TS_UD_CS_MONITOR (parser index is updated according to parsed length)

ParseTsUdCsMonitorEX ( byte data, int &currentIndex ) : TS_UD_CS_MONITOR_EX

Parse TS_UD_CS_MONITOR_EX (parser index is updated according to parsed length)

ParseTsUdCsMultiTransport ( byte data, int &currentIndex ) : TS_UD_CS_MULTITRANSPORT

Parse TS_UD_CS_MULTITRANSPORT (parser index is updated according to parsed length)

ParseTsUdCsNet ( byte data, int &currentIndex ) : TS_UD_CS_NET

Parse TS_UD_CS_NET (parser index is updated according to parsed length)

ParseTsUdCsSec ( byte data, int &currentIndex ) : TS_UD_CS_SEC

Parse TS_UD_SC_SEC1 (parser index is updated according to parsed length)

ParseUInt16 ( byte data, int &index, bool isBigEndian ) : UInt16

Parse UInt16 (parser index is updated according to parsed length)

ParseUInt32 ( byte data, int &index, bool isBigEndian ) : UInt32

Parse UInt32 (parser index is updated according to parsed length)

ParseUniKeyboardEvent ( byte data, int &currentIndex ) : TS_UNICODE_KEYBOARD_EVENT

Parse TS_UNICODE_KEYBOARD_EVENT (parser index is updated according to parsed length)

ParseUnusedEvent ( byte data, int &currentIndex ) : TS_UNUSED_EVENT

Parse TS_UNUSED_EVENT (parser index is updated according to parsed length)

ParseX224Crq ( byte data, int &currentIndex ) : X224Crq

Parse X224Crq (parser index is updated according to parsed length)

ParseX224Data ( byte data, int &currentIndex ) : X224

Parse X224 Data (parser index is updated according to parsed length)

PaseCapsTypeControl ( byte data ) : TS_CONTROL_CAPABILITYSET

Parse TS_CONTROL_CAPABILITYSET

PaseCapsTypeFrameAcknowledge ( byte data ) : TS_FRAME_ACKNOWLEDGE_CAPABILITYSET

Parse TS_FRAME_ACKNOWLEDGE_CAPABILITYSET

SwitchDecodeMcsDataPDU ( byte data, byte decryptedUserData, SecurityHeaderType securityHeaderType ) : StackPacket

Switch Decode MCS Data PDU

SwitchDecodeMcsDomainPDU ( RdpbcgrServerSessionContext serverSessionContext, byte data ) : StackPacket

Switch Decode MCS Domain PDU

SwitchDecodeMcsPDU ( RdpbcgrServerSessionContext serverSessionContext, byte data ) : StackPacket

Switch Decode MCS PDU

SwitchDecodeMcsSendDataRequestPDU ( byte data, byte decryptedUserData, SecurityHeaderType securityHeaderType ) : StackPacket

Switch Decode MCS Send Data Request PDU

UpdateSecurityHeaderType ( RdpbcgrServerSessionContext serverSessionContext, SecurityHeaderType &securityHeaderType ) : void

For Standard Redirection PDU type, an encryption is needed. So if there's encryptionLevel is ENCRYPTION_LEVEL_LOW, update the securityHeaderType according to TD.

VerifyDataLength ( int actualLength, int expectedLength, string errorMessage ) : void

Verify Packet Data Length

Method Details

DecodeClientAutoDetectResponsePDU() public method

Decode Client Auto Detect Response PDU
public DecodeClientAutoDetectResponsePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte
decryptedUserData byte
type SecurityHeaderType
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeClientInfoPdu() public method

Decode Client Info PDU
public DecodeClientInfoPdu ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data
type SecurityHeaderType the security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeClientInitiateMultitransportResponsePDU() public method

Decode a Client Initiate Multitransport Response PDU
public DecodeClientInitiateMultitransportResponsePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte
decryptedUserData byte
type SecurityHeaderType
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeConfirmActivePDU() public method

Decode Confirm Active PDU
public DecodeConfirmActivePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeControlPDU() public method

Decode Control PDU
public DecodeControlPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeDisconnectProviderUltimatumPDU() public method

Decode MCS Disconnect Provider Ultimatum PDU
public DecodeDisconnectProviderUltimatumPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeFontListPDU() public method

Decode Font List PDU
public DecodeFontListPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeFrameAcknowledgePDU() public method

Decode Persistent Key List PDU
public DecodeFrameAcknowledgePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeMcsAttachUserRequestPDU() public method

Decode MCS Attach User Request PDU
public DecodeMcsAttachUserRequestPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeMcsChannelJoinRequestPDU() public method

Decode MCS Channel Join Request PDU
public DecodeMcsChannelJoinRequestPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeMcsConnectInitialPDU() public method

Decode MCS Connect Initial PDU with GCC Conference Create Initial
public DecodeMcsConnectInitialPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeMcsErectDomainRequestPDU() public method

Decode MCS Erect Domain Request PDU
public DecodeMcsErectDomainRequestPDU ( byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodePdu() public method

Decode PDU (entrance method for decoders)
public DecodePdu ( RdpbcgrServerSessionContext serverSessionContext, byte data ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
serverSessionContext RdpbcgrServerSessionContext the server session context
data byte data to be parsed
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodePersistentKeyListPDU() public method

Decode Persistent Key List PDU
public DecodePersistentKeyListPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeRefreshRectPDU() public method

Decode Refresh Rect PDU.
public DecodeRefreshRectPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeSecurityExchangePdu() public method

Decode Security Exchange PDU
public DecodeSecurityExchangePdu ( RdpbcgrServerSessionContext serverSessionContext, byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
serverSessionContext RdpbcgrServerSessionContext the server session context
data byte data to be parsed
decryptedUserData byte decrypted user data
type SecurityHeaderType the security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeShutdownRequestPDU() public method

Decode Server Shutdown Request PDU
public DecodeShutdownRequestPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : Microsoft.Protocols.TestTools.StackSdk.StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return Microsoft.Protocols.TestTools.StackSdk.StackPacket

DecodeSlowPathInputEventPDU() public method

Decode Slow-Path Update PDU including Slow-Path Graphics Update PDU and Slow-Path Pointer Update PDU.
public DecodeSlowPathInputEventPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeSuppressOutputPDU() public method

Decode Suppress Output PDU.
public DecodeSuppressOutputPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeSynchronizePDU() public method

Decode Synchronize PDU
public DecodeSynchronizePDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data to be parsed
type SecurityHeaderType security header type
return StackPacket

DecodeTsFpInputPDU() public method

Decode Fast-path Update PDU
public DecodeTsFpInputPDU ( RdpbcgrServerSessionContext serverSessionContext, byte data ) : StackPacket
serverSessionContext RdpbcgrServerSessionContext server session context
data byte data to be parsed
return StackPacket

DecodeVirtualChannelPDU() public method

Decode Virtual Channel PDU
public DecodeVirtualChannelPDU ( byte data, byte decryptedUserData, SecurityHeaderType type ) : StackPacket
data byte data to be parsed
decryptedUserData byte decrypted user data
type SecurityHeaderType security header type
return StackPacket

DecodeX224ConnectionRequestPDU() public method

Decode X.224 Connection Request PDU
public DecodeX224ConnectionRequestPDU ( byte data ) : StackPacket
data byte data to be parsed
return StackPacket

ParseNetworkDetectionResponse() public method

Parse Network Detection Response Structures
public ParseNetworkDetectionResponse ( byte data, int &currentIndex, bool isSubHeader = false ) : NETWORK_DETECTION_RESPONSE
data byte
currentIndex int
isSubHeader bool
return NETWORK_DETECTION_RESPONSE

RdpbcgrServerDecoder() public method

The constructor.
public RdpbcgrServerDecoder ( RdpbcgrServer rdpbcgrServer ) : System
rdpbcgrServer RdpbcgrServer The server.
return System