/// <summary> /// Returns a stream to read the contents from Amazon S3 as /// specified by the <c>TransferUtilityOpenStreamRequest</c>. /// The caller of this method is responsible for closing the stream. /// </summary> /// <param name="request"> /// Contains all the parameters used for opening a stream to an S3 object. /// </param> /// <returns> /// A stream containing contents returned from Amazon S3. /// </returns> public Stream OpenStream(TransferUtilityOpenStreamRequest request) { OpenStreamCommand command = new OpenStreamCommand(this._s3Client, request); command.Execute(); return command.ResponseStream; }