IDevicePacketStream.MaxPacketSize Property
Gets the maximum packet size limited by the underlying transport mechanism.
Namespace: Microsoft.SmartDevice.DeviceAgentTransport
Assembly: Microsoft.SmartDevice.DeviceAgentTransport (in Microsoft.SmartDevice.DeviceAgentTransport.dll)
Syntax
'Declaration
ReadOnly Property MaxPacketSize As Integer
'Usage
Dim instance As IDevicePacketStream
Dim value As Integer
value = instance.MaxPacketSize
int MaxPacketSize { get; }
property int MaxPacketSize {
int get ();
}
function get MaxPacketSize () : int
Property Value
Type: System.Int32
This method returns the packet size limit in number of bytes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.