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.

This class contains the headers for an S3 object.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.HeadersCollection

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

Syntax

C#
public sealed class HeadersCollection

The HeadersCollection type exposes the following members

Constructors

NameDescription
Public Method HeadersCollection()

Properties

NameTypeDescription
Public Property CacheControl System.String

Specifies caching behavior along the request/reply chain.

Public Property ContentDisposition System.String

Specifies presentational information for the object.

Public Property ContentEncoding System.String

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

Public Property ContentLength System.Int64

The size of the object, in bytes.

Public Property ContentMD5 System.String

The base64-encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864. This header can be used as a message integrity check to verify that the data is the same data that was originally sent.

Public Property ContentType System.String

A standard MIME type describing the format of the object data.

Public Property Count System.Int32

Gets the count of headers.

Public Property Expires System.Nullable<System.DateTime>

The date and time at which the object is no longer cacheable.

Public Property Item System.String
Public Property Keys System.Collections.Generic.ICollection<System.String>

Gets the names of the headers set.

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