System.Security.Cryptography.CryptoStream.Length Property

Gets the length in bytes of the stream.

Syntax

public override long Length { get; }

Value

This property isn't supported on CryptoStream and will always throw a NotSupportedException.

Remarks

This property exists only to support inheritance from System.IO.Stream, and cannot be used.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0