Interface IFileUploadInfo
An interface for wrapping information of an uploaded file.
Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient.dll
Syntax
public interface IFileUploadInfoProperties
ContentType
Gets the content type (MIME type, Internet Media type).
Declaration
string ContentType { get; }Property Value
| Type | Description | 
|---|---|
| System.String | The type of the content (MIME type, Internet Media type). | 
LastWriteTimeUtc
Gets the last write time in UTC.
Declaration
DateTime LastWriteTimeUtc { get; }Property Value
| Type | Description | 
|---|---|
| System.DateTime | The last write time in UTC. | 
Length
Gets the length (in bytes) of the file.
Declaration
long Length { get; }Property Value
| Type | Description | 
|---|---|
| System.Int64 | The size of the file in bytes. | 
Name
Gets the name of the file.
Declaration
string Name { get; }Property Value
| Type | Description | 
|---|---|
| System.String | The name of the file. | 
Methods
CreateStream()
Creates the stream representing the content of the instance.
Declaration
Stream CreateStream()Returns
| Type | Description | 
|---|---|
| System.IO.Stream |