Share via


IFrontEndAdapter.GetStreamLength(String, Boolean) Method

Definition

Gets a value indicating the length of a stream, in bytes.

public long GetStreamLength (string streamPath, bool isDownload = false);
abstract member GetStreamLength : string * bool -> int64
Public Function GetStreamLength (streamPath As String, Optional isDownload As Boolean = false) As Long

Parameters

streamPath
String

The relative path to the stream.

isDownload
Boolean

if set to true [is download], meaning we will get the stream length on the local machine instead of on the server.

Returns

The length of the stream, in bytes.

Applies to