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

AUX_PERF_CLIENTINFO structure
显示文件 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_oe 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_oe 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_oe property

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

ClientID public_oe property

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

ClientIP public_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe property

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

MacAddress public_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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_oe 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