IFileProperties

Namespace: Proffer.Storage

File common properties with metadata.

public interface IFileProperties

Properties

LastModified

Gets the last modified time.

public abstract Nullable<DateTimeOffset> LastModified { get; }

Property Value

Nullable<DateTimeOffset>

Length

Gets the length of the content.

public abstract long Length { get; }

Property Value

Int64

ContentType

Gets or sets the content-type.

public abstract string ContentType { get; set; }

Property Value

String

ETag

Gets the etag.

public abstract string ETag { get; }

Property Value

String

CacheControl

Gets or sets the cache control.

public abstract string CacheControl { get; set; }

Property Value

String

ContentMD5

Gets the MD5 digest of the content.

public abstract string ContentMD5 { get; }

Property Value

String

Metadata

Gets the metadata.

public abstract IDictionary<string, string> Metadata { get; }

Property Value

IDictionary<String, String>