Holds data and is used by the DevicePacketStream class to transfer data between a smart device and a desktop computer.
Assembly: Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)
The class can only hold objects of type byte, byte, string, int, and char. The class is not extensible to read and write custom objects. However, users can still transfer custom objects across the stream by either splitting the custom data type into basic data types or serializing the custom data types into a byte array.