C# Класс Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpefs.DEVICE_ANNOUNCE

This header is embedded in the Client Device List Announce message. Its purpose is to describe different types of devices.
file:///D:/programs/RFSPAC/XML-RDPEFS/_rfc_ms-rdpefs2_2_1_3.xml
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DeviceData byte[]
DeviceDataLength uint
DeviceId uint
DeviceType DeviceType_Values
PreferredDosName byte[]

Открытые методы

Метод Описание
DEVICE_ANNOUNCE ( ) : System
Decode ( PduMarshaler marshaler ) : void
Encode ( PduMarshaler marshaler ) : void

Описание методов

DEVICE_ANNOUNCE() публичный Метод

public DEVICE_ANNOUNCE ( ) : System
Результат System

Decode() публичный Метод

public Decode ( PduMarshaler marshaler ) : void
marshaler PduMarshaler
Результат void

Encode() публичный Метод

public Encode ( PduMarshaler marshaler ) : void
marshaler PduMarshaler
Результат void

Описание свойств

DeviceData публичное свойство

A variable-length byte array whose size is specified by the DeviceDataLength field. The content depends on the DeviceType field. See [MS-RDPEPC] section 2.2.2.1 for the printer device type. See [MS-RDPESP] section 2.2.2.1 for the serial and parallel port device types. See [MS-RDPESC] for the smart card device type.
public byte[] DeviceData
Результат byte[]

DeviceDataLength публичное свойство

A 32-bit unsigned integer that specifies the number of bytes in the DeviceData field.
public uint DeviceDataLength
Результат uint

DeviceId публичное свойство

A 32-bit unsigned integer that specifies a unique ID that identifies the announced device. This ID can be reused only if the device is removed.
public uint DeviceId
Результат uint

DeviceType публичное свойство

A 32-bit unsigned integer that identifies the device type. This field MUST be set to one of the following values.
public DeviceType_Values DeviceType
Результат DeviceType_Values

PreferredDosName публичное свойство

A string of ASCII characters with a maximum length of eight characters that represent the name of the device as it appears on the client. This field might not be null-terminated.
public byte[] PreferredDosName
Результат byte[]