S3FileInfo.OpenWrite Method

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Returns a Stream for writing to S3. If the file already exists it will be overwritten.

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

Syntax

C#
public Stream OpenWrite()
Return Value
Type: System.IO.Stream
Stream to write 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