public StreamWrapper(PortableDeviceApiLib.IStream stream) { if (stream == null) { throw new ArgumentNullException("stream"); } this.stream = (IStream)stream; }
internal DeviceStream(PortableDeviceApiLib.IStream deviceStream) : this((IStream)deviceStream) // This is apparently safe for streams we get back from the portable device lib { }