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
public override long Length {get;}
public: __property __int64 get_Length();
public override function get Length() : long;

Property Value

This property is not supported.


Exception Type Condition
NotSupportedException This property is not supported.


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


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