Click or drag to resize

FileInfoLength Property

Return the the length of the file, in bytes.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public long Length { get; }

Return Value

Int64
A long representing the length of the current file in bytes.
Exceptions
ExceptionCondition
FileNotFoundExceptionThe current file does not exist.
IOExceptionFile System error.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also