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

The TS_INFO_PACKET structure contains extra information not passed to the server during the Basic Settings Exchange phase (see section ) of the Standard RDP Connection Sequence, primarily to ensure that it gets encrypted (as auto-logon password data and other sensitive information is passed here).
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_1_11_1_1.xml
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
AlternateShell string
CodePage uint
Domain string
Password string
UserName string
WorkingDir string
cbAlternateShell ushort
cbDomain ushort
cbPassword ushort
cbUserName ushort
cbWorkingDir ushort
extraInfo TS_EXTENDED_INFO_PACKET
flags flags_Values

Property Details

AlternateShell public_oe property

Variable length path to the executable file of an alternate shell, e.g. "c:\dir\prog.exe" (the length in bytes is given by the cbAlternateShell field). The maximum allowed length is 512 bytes (including the mandatory null terminator). This field MUST only be initialized if the client is requesting a shell other than the default. The field must contain at least a null terminator character in ANSI or Unicode format (depending on the presence of the INFO_UNICODE flag).
public string AlternateShell
return string

CodePage public_oe property

A 32-bit unsigned integer. This field contains the ANSI codepage descriptor being used by the client (for a list of code pages, see [MSDN-CP]). However, if the Info Packet is in Unicode (the INFO_UNICODE flag is set), then the CodePage field is overridden to contain the active input locale identifier in the low word (for a list of possible input locales, see [MSDN-MUI]).
public uint CodePage
return uint

Domain public_oe property

Variable length logon domain of the user (the length in bytes is given by the cbDomain field). The maximum length allowed by RDP 4.0 and RDP 5.0 servers is 52 bytes (including the mandatory null terminator). RDP 5.1 and later allow a maximum length of 512 bytes (including the mandatory null terminator). The field must contain at least a null terminator character in ANSI or Unicode format (depending on the presence of the INFO_UNICODE flag).
public string Domain
return string

Password public_oe property

Variable length logon password of the user (the length in bytes is given by the cbPassword field). The maximum length allowed by RDP 4.0 and RDP 5.0 servers is 32 bytes (including the mandatory null terminator). RDP 5.1 and later allow a maximum length of 512 bytes (including the mandatory null terminator). The field must contain at least a null terminator character in ANSI or Unicode format (depending on the presence of the INFO_UNICODE flag).
public string Password
return string

UserName public_oe property

Variable length logon user name of the user (the length in bytes is given by the cbUserName field). The maximum length allowed by RDP 4.0 and RDP 5.0 servers is 44 bytes (including the mandatory null terminator). RDP 5.1 and later allow a maximum length of 512 bytes (including the mandatory null terminator). The field must contain at least a null terminator character in ANSI or Unicode format (depending on the presence of the INFO_UNICODE flag).
public string UserName
return string

WorkingDir public_oe property

Variable length directory that contains the executable file specified in the AlternateShell field or any related files (the length in bytes is given by the cbWorkingDir field). The maximum allowed length is 512 bytes (including the mandatory null terminator). This field MAY be initialized if the client is requesting a shell other than the default. The field must contain at least a null terminator character in ANSI or Unicode format (depending on the presence of the INFO_UNICODE flag).
public string WorkingDir
return string

cbAlternateShell public_oe property

A 16-bit unsigned integer. The size in bytes of the character data in the AlternateShell field. This size excludes the length of the mandatory null terminator.
public ushort cbAlternateShell
return ushort

cbDomain public_oe property

A 16-bit unsigned integer. The size in bytes of the character data in the Domain field. This size excludes the length of the mandatory null terminator.
public ushort cbDomain
return ushort

cbPassword public_oe property

A 16-bit unsigned integer. The size in bytes of the character data in the Password field. This size excludes the length of the mandatory null terminator.
public ushort cbPassword
return ushort

cbUserName public_oe property

A 16-bit unsigned integer. The size in bytes of the character data in the UserName field. This size excludes the length of the mandatory null terminator.
public ushort cbUserName
return ushort

cbWorkingDir public_oe property

A 16-bit unsigned integer. The size in bytes of the character data in the WorkingDir field. This size excludes the length of the mandatory null terminator.
public ushort cbWorkingDir
return ushort

extraInfo public_oe property

Optional and variable length extended information added in RDP 5.0, as specified in section .
public TS_EXTENDED_INFO_PACKET,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr extraInfo
return TS_EXTENDED_INFO_PACKET

flags public_oe property

A 32-bit unsigned integer. Option flags.
public flags_Values flags
return flags_Values