This documentation is archived and is not being maintained.

CryptoStream.Length Property

Gets the length in bytes of the stream.

[Visual Basic]
Overrides Public ReadOnly Property Length As Long
[C#]
public override long Length {get;}
[C++]
public: __property __int64 get_Length();
[JScript]
public override function get Length() : long;

Property Value

This property is not supported.

Exceptions

Exception Type Condition
NotSupportedException This property is not supported.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CryptoStream Class | CryptoStream Members | System.Security.Cryptography Namespace | Cryptographic Services

Show: