Export (0) Print
Expand All

CryptoStream.SetLength Method

Sets the length of the current stream.

[Visual Basic]
Overrides Public Sub SetLength( _
   ByVal value As Long _
)
[C#]
public override void SetLength(
 long value
);
[C++]
public: void SetLength(
 __int64 value
);
[JScript]
public override function SetLength(
   value : long
);

Parameters

value
The desired length of the current stream in bytes.

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:
© 2015 Microsoft