Exemplo n.º 1
0
        public StreamWrapper(PortableDeviceApiLib.IStream stream)
        {
            if (stream == null)
            {
                throw new ArgumentNullException("stream");
            }

            this.stream = (IStream)stream;
        }
Exemplo n.º 2
0
 internal DeviceStream(PortableDeviceApiLib.IStream deviceStream)
     : this((IStream)deviceStream)   // This is apparently safe for streams we get back from the portable device lib
 {
 }