C# Класс Microsoft.Protocols.TestSuites.MS_OXCRPC.AUX_PERF_CLIENTINFO

AUX_PERF_CLIENTINFO structure
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
AdapterName byte[]
AdapterNameOffset short
AdapterSpeed int
ClientID short
ClientIP byte[]
ClientIPMask byte[]
ClientIPMaskOffset short
ClientIPMaskSize short
ClientIPOffset short
ClientIPSize short
ClientMode short
MacAddress byte[]
MacAddressOffset short
MacAddressSize short
MachineName byte[]
MachineNameOffset short
Reserved short
UserName byte[]
UserNameOffset short

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

Метод Описание
Serialize ( ) : byte[]

Serializes AUX_PERF_CLIENTINFO to a byte array

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

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

Serializes AUX_PERF_CLIENTINFO to a byte array
public Serialize ( ) : byte[]
Результат byte[]

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

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

AdapterName (variable): A null-terminated Unicode string that contains the client network adapter name. This variable field is offset from the beginning of the AUX_HEADER structure by the AdapterNameOffset value.
public byte[] AdapterName
Результат byte[]

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

AdapterNameOffset (2 bytes): The offset from the beginning of the AUX_HEADER structure to the AdapterName field. A value of zero indicates that the AdapterName field is null or empty.
public short AdapterNameOffset
Результат short

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

AdapterSpeed (4 bytes): Speed of client computer's network adapter (kbits/s).
public int AdapterSpeed
Результат int

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

ClientID (2 bytes): Client-assigned identification number.
public short ClientID
Результат short

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

ClientIP (variable): The client's IP address. This variable field is offset from the beginning of the AUX_HEADER structure by the ClientIPOffset value. The size of the client IP address data is found in the ClientIPSize field.
public byte[] ClientIP
Результат byte[]

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

ClientIPMask (variable): The client's IP subnet mask. This variable field is offset from the beginning of the AUX_HEADER structure by the ClientIPMaskOffset value. The size of the client IP mask data is found in the ClientIPMaskSize field.
public byte[] ClientIPMask
Результат byte[]

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

ClientIPMaskOffset (2 bytes): The offset from the beginning of the AUX_HEADER structure to the ClientIPMask field. The size of the IP subnet mask is found in the ClientIPMaskSize field. A value of zero indicates that the ClientIPMask field is null or empty.
public short ClientIPMaskOffset
Результат short

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

ClientIPMaskSize (2 bytes): Size of the client IP subnet mask referenced by the ClientIPMaskOffset field. The client IP mask is located in the ClientIPMask field.
public short ClientIPMaskSize
Результат short

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

ClientIPOffset (2 bytes): The offset from the beginning of the AUX_HEADER structure to the ClientIP field. A value of zero indicates that the ClientIP field is null or empty.
public short ClientIPOffset
Результат short

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

ClientIPSize (2 bytes): Size of the client IP address referenced by the ClientIPOffset field. The client IP address is located in the ClientIP field.
public short ClientIPSize
Результат short

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

ClientMode (2 bytes): Determines the mode in which the client is running.
public short ClientMode
Результат short

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

MacAddress (variable):The client's network adapter MAC address. This variable field is offset from the beginning of the AUX_HEADER structure by the MacAddressOffset value. The size of the network adapter MAC address data is found in the MacAddressSize field.
public byte[] MacAddress
Результат byte[]

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

MacAddressOffset (2 bytes): The offset from the beginning of the AUX_HEADER structure to the MacAddress field. A value of zero indicates that the MacAddress field is null or empty.
public short MacAddressOffset
Результат short

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

MacAddressSize (2 bytes): Size of the network adapter MAC address referenced by the MacAddressOffset field. The network adapter MAC address is located in the MacAddress field.
public short MacAddressSize
Результат short

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

MachineName (variable): A null-terminated Unicode string that contains the client computer name. This variable field is offset from the beginning of the AUX_HEADER structure by the MachineNameOffset value.
public byte[] MachineName
Результат byte[]

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

MachineNameOffset (2 bytes): The offset from the beginning of the AUX_HEADER structure to the MachineName field. A value of zero indicates that the MachineName field is null or empty.
public short MachineNameOffset
Результат short

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

Reserved (2 bytes): Padding to enforce alignment of the data on a 4-byte field. The client can fill this field with any value when writing the stream. The server MUST ignore the value of this field when reading the stream.
public short Reserved
Результат short

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

UserName (variable): A null-terminated Unicode string that contains the user's account name. This variable field is offset from the beginning of the AUX_HEADER structure by the UserNameOffset value.
public byte[] UserName
Результат byte[]

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

UserNameOffset (2 bytes): The offset from the beginning of the AUX_HEADER structure to the UserName field. A value of zero indicates that the UserName field is null or empty.
public short UserNameOffset
Результат short