Share via


IDevicePacketStream Members

Include Protected Members
Include Inherited Members

Exchanges data with a connected DevicePacketStream on the desktop computer by reading and writing objects that implement IPacket.

The IDevicePacketStream type exposes the following members.

Methods

 

Name

Description

Public method

Disconnect

Disconnects the stream.

Public method

IsConnected

Checks if the packet stream is connected.

Public method

IsPacketAvailable

Checks if there is a packet ready to be read.

Public method

Read

Reads packets sent from the DevicePacketStream on the desktop computer.

Public method

Write

Writes a packet to the stream. The packet is read by the DevicePacketStream on the desktop computer.

Top

Properties

 

Name

Description

Public property

Buffering

Enables or disables Nagle's buffering algorithm on the stream. By default it is enabled.

Public property

MaxPacketSize

Gets the maximum packet size limited by the underlying transport mechanism.

Top

See Also

Reference

IDevicePacketStream Interface

Microsoft.SmartDevice.DeviceAgentTransport Namespace