Table of Contents

Interface IFileUploadInfo

Namespace
DocuWare.Services.Http.Client
Assembly
DocuWare.RestClient.dll

An interface for wrapping information of an uploaded file.

public interface IFileUploadInfo

Properties

ContentType

Gets the content type (MIME type, Internet Media type).

string ContentType { get; }

Property Value

TypeDescription
String

The type of the content (MIME type, Internet Media type).

LastWriteTimeUtc

Gets the last write time in UTC.

DateTime LastWriteTimeUtc { get; }

Property Value

TypeDescription
DateTime

The last write time in UTC.

Length

Gets the length (in bytes) of the file.

long Length { get; }

Property Value

TypeDescription
Int64

The size of the file in bytes.

Name

Gets the name of the file.

string Name { get; }

Property Value

TypeDescription
String

The name of the file.

Methods

CreateStream()

Creates the stream representing the content of the instance.

Stream CreateStream()

Returns

TypeDescription
Stream