AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents an S3 Object. Contains all attributes that an S3 Object has. For more information about S3 Objects refer: http://docs.amazonwebservices.com/AmazonS3/latest/UsingObjects.html

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.S3Object

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class S3Object

The S3Object type exposes the following members

Constructors

NameDescription
Public Method S3Object()

Properties

NameTypeDescription
Public Property BucketName System.String

The name of the bucket containing this object.

Public Property ETag System.String

Any ETag set on the object.

Public Property Key System.String

The key of the object.

Public Property LastModified System.DateTime

The date and time the object was last modified. The date retrieved from S3 is in ISO8601 format. A GMT formatted date is passed back to the user.

Public Property Owner Amazon.S3.Model.Owner

The owner of the object.

Public Property Size System.Int64

The size of the object.

Public Property StorageClass Amazon.S3.S3StorageClass

The class of storage used to store the object.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone