Click or drag to resize

IContentContentLength Property

IT Hit WebDAV Classes Reference
Gets the size of the file content in bytes.

Namespace: ITHit.WebDAV.Server
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
long ContentLength { get; }

Property Value

Type: Int64
Length of the file content in bytes.
Examples

The code below is part of 'WebDAVServer.NtfsStorage' sample provided with the SDK.

public long ContentLength
{
    get { return fileInfo.Length; }
}
See Also