S3FileInfo.OpenRead Method

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Returns a Stream for reading the contents of the file.

Namespace: Amazon.S3.IO
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public Stream OpenRead()
Return Value
Type: System.IO.Stream
Stream to read from.

Exceptions

Exception Condition
System.IO.IOException The file is already open.
System.Net.WebException
Amazon.S3.AmazonS3Exception

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5