Aracılığıyla paylaş


DevicePacketStream Members

Include Protected Members
Include Inherited Members

Exchanges data between a desktop application and a device agent application by reading and writing objects of type Packet.

The DevicePacketStream type exposes the following members.

Methods

 

Name

Description

Public method

Close

Disconnects the stream connection between the device and the host

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

IsConnected

Checks if packet stream is connected.

Public method

IsPacketAvailable

Checks if a packet is available to be read from the device packet stream.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

Read

Reads data from the device and returns a packet object.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

Write

Writes a Packet object to a device packet stream.

Top

Properties

 

Name

Description

Public property

Buffering

Enables or disables Nagle's buffering algorithm on the stream.

Public propertyStatic member

MaxPacketSize

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

Top

See Also

Reference

DevicePacketStream Class

Microsoft.SmartDevice.Connectivity Namespace