Share via


FileStream.Length Property

Gets the length in bytes of the stream.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public override long Length { get; }

Property Value

A long value representing the length of the stream in bytes.

Version Information

Available in .NET Micro Framework version 3.0 and above.

See Also

Reference

FileStream Class
FileStream Members
System.IO Namespace