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

The Enhanced Security Server Redirection PDU is sent by the server to the client to instruct it to reconnect to an existing session on another server. The information required to perform the reconnection is contained in an embedded Server Redirection Packet (section 2.2.13.1). This PDU MUST NOT be sent if Standard RDP Security (see section 5.3) is in effect. The Standard Security Server Redirection PDU (see section 2.2.13.2.1) MUST be used instead.
Inheritance: RdpbcgrServerPdu
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
commonHeader SlowPathPduCommonHeader
pad ushort
pad1Octet byte[]
serverRedirectionPdu RDP_SERVER_REDIRECTION_PACKET
shareControlHeader TS_SHARECONTROLHEADER

Public Methods

Method Description
Clone ( ) : StackPacket
Enhanced_Security_Server_Redirection_Pdu ( ) : System
Enhanced_Security_Server_Redirection_Pdu ( RdpbcgrServerSessionContext serverSessionContext ) : System
ToBytes ( ) : byte[]

Private Methods

Method Description
EncodeRedirectionData ( RDP_SERVER_REDIRECTION_PACKET serverRedirectionPdu ) : byte[]
EncodeTargetNetAddresses ( TARGET_NET_ADDRESSES targetNetAddresses ) : byte[]

Method Details

Clone() public method

public Clone ( ) : StackPacket
return StackPacket

Enhanced_Security_Server_Redirection_Pdu() public method

public Enhanced_Security_Server_Redirection_Pdu ( ) : System
return System

Enhanced_Security_Server_Redirection_Pdu() public method

public Enhanced_Security_Server_Redirection_Pdu ( RdpbcgrServerSessionContext serverSessionContext ) : System
serverSessionContext RdpbcgrServerSessionContext
return System

ToBytes() public method

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

Property Details

commonHeader public_oe property

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

pad public_oe property

A 16-bit, unsigned integer. Padding. Values in this field MUST be ignored.
public ushort pad
return ushort

pad1Octet public_oe property

An optional 8-bit, unsigned integer. Padding. Values in this field MUST be ignored.
public byte[] pad1Octet
return byte[]

serverRedirectionPdu public_oe property

Information required by the client to initiate a reconnection to a given session on a target server encapsulated in a Server Redirection Packet (section 2.2.13.1) structure.
public RDP_SERVER_REDIRECTION_PACKET,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr serverRedirectionPdu
return RDP_SERVER_REDIRECTION_PACKET

shareControlHeader public_oe property

A Share Control Header (as specified in section 2.2.8.1.1.1.1) containing information on the packet. The type subfield of the pduType field of the Share Control Header MUST be set to PDUTYPE_SERVER_REDIR_PKT (10). The versionHigh and versionLow subfields MUST both be set to 0.
public TS_SHARECONTROLHEADER,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr shareControlHeader
return TS_SHARECONTROLHEADER