C# Class Microsoft.Protocols.TestSuites.MS_OXCRPC.AUX_PERF_CLIENTINFO

AUX_PERF_CLIENTINFO structure
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Properties

Property Type Description
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

Public Methods

Method Description
Serialize ( ) : byte[]

Serializes AUX_PERF_CLIENTINFO to a byte array

Method Details

Serialize() public method

Serializes AUX_PERF_CLIENTINFO to a byte array
public Serialize ( ) : byte[]
return byte[]

Property Details

AdapterName public property

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
return byte[]

AdapterNameOffset public property

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
return short

AdapterSpeed public property

AdapterSpeed (4 bytes): Speed of client computer's network adapter (kbits/s).
public int AdapterSpeed
return int

ClientID public property

ClientID (2 bytes): Client-assigned identification number.
public short ClientID
return short

ClientIP public property

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
return byte[]

ClientIPMask public property

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
return byte[]

ClientIPMaskOffset public property

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
return short

ClientIPMaskSize public property

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
return short

ClientIPOffset public property

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
return short

ClientIPSize public property

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
return short

ClientMode public property

ClientMode (2 bytes): Determines the mode in which the client is running.
public short ClientMode
return short

MacAddress public property

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
return byte[]

MacAddressOffset public property

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
return short

MacAddressSize public property

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
return short

MachineName public property

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
return byte[]

MachineNameOffset public property

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
return short

Reserved public property

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
return short

UserName public property

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
return byte[]

UserNameOffset public property

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
return short