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
| Type | Description |
|---|---|
| String | The type of the content (MIME type, Internet Media type). |
LastWriteTimeUtc
Gets the last write time in UTC.
DateTime LastWriteTimeUtc { get; }
Property Value
| Type | Description |
|---|---|
| DateTime | The last write time in UTC. |
Length
Gets the length (in bytes) of the file.
long Length { get; }
Property Value
| Type | Description |
|---|---|
| Int64 | The size of the file in bytes. |
Name
Gets the name of the file.
string Name { get; }
Property Value
| Type | Description |
|---|---|
| String | The name of the file. |
Methods
CreateStream()
Creates the stream representing the content of the instance.
Stream CreateStream()
Returns
| Type | Description |
|---|---|
| Stream |