Click or drag to resize

IResumableUploadTotalContentLength Property

IT Hit WebDAV Classes Reference
Total file size that is being uploaded.

Namespace:  ITHit.WebDAV.Server.ResumableUpload
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax
long TotalContentLength { get; }

Return Value

Type: Int64
Total file size in bytes.
Remarks

This value is passed to WriteAsync(Stream, String, Int64, Int64) method. Usually AJAX/HTML based clients will use value returned by this property to display upload progress.

Requested by the Engine during a call to GetUploadProgressAsync.

Examples

The code below is part of 'WebDAVServer.FileSystemStorage.AspNet' C# & VB samples provided with the SDK.

public long TotalContentLength
{
    get; private set;
}
See Also