Share via


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

See Also

Reference

DevicePacketStream Class

DevicePacketStream Members

Microsoft.SmartDevice.Connectivity Namespace