DevicePacketStream.MaxPacketSize Property
Gets the maximum packet size limited by the underlying transport mechanism.
Namespace: Microsoft.SmartDevice.Connectivity
Assembly: Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)
Syntax
'Declaration
Public Shared ReadOnly Property MaxPacketSize As Integer
'Usage
Dim value As Integer
value = DevicePacketStream.MaxPacketSize
public static int MaxPacketSize { get; }
public:
static property int MaxPacketSize {
int get ();
}
public static function get MaxPacketSize () : int
Property Value
Type: System.Int32
This method returns the limit of the packet size 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.