IQuotaGetAvailableBytesAsync Method
IT Hit WebDAV Classes Reference
Value in bytes representing the amount of additional disk space beyond the current
allocation that can be allocated to the folder (or other item) before further
allocations will be refused.
Namespace:
ITHit.WebDAV.Server.Quota
Assembly:
ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax Task<long> GetAvailableBytesAsync()
Function GetAvailableBytesAsync As Task(Of Long)
Task<long long>^ GetAvailableBytesAsync()
abstract GetAvailableBytesAsync : unit -> Task<int64>
Return Value
Type:
TaskInt64Bytes that can be additionally allocated in folder/file.
Exceptions Examples The code below is part of 'WebDAVServer.FileSystemStorage.AspNet' C# & VB samples provided with the SDK.
public async Task<long> GetAvailableBytesAsync()
{
return await dirInfo.GetStorageFreeBytesAsync();
}
Public Async Function GetAvailableBytesAsync() As Task(Of Long) Implements IQuota.GetAvailableBytesAsync
Return Await dirInfo.GetStorageFreeBytesAsync()
End Function
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also