AceQL HTTP C# Client SDK v2.0

PortableFile..::..GetLengthAsync Method

Returns the IFile length.

Namespace:  AceQL.Client.Api.File
Assembly:  AceQL.Client (in AceQL.Client.dll)

Syntax


public Task<long> GetLengthAsync(
	IFile file
)

Parameters

file
Type: IFile
The file.

Return Value

The IFile length.

Exceptions


ExceptionCondition
ArgumentNullExceptionfile is null!