IContentContentLength Property
IT Hit WebDAV Classes Reference
Gets the size of the file content in bytes.
Namespace: ITHit.WebDAV.ServerAssembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax long ContentLength { get; }
ReadOnly Property ContentLength As Long
Get
property long long ContentLength {
long long get ();
}
abstract ContentLength : int64 with get
Property Value
Type:
Int64Length 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