IFrontEndAdapter.GetStreamLength(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.