CryptoStream.Length Property

 

Gets the length in bytes of the stream.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public override long Length { get; }

Property Value

Type: System.Int64

This property is not supported.

Exception Condition
NotSupportedException

This property is not supported.

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

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: