System.Security.Cryptography.CryptoStream.SetLength Method

Sets the length of the current stream.

Syntax

public override void SetLength (long value)

Parameters

value
The desired length of the current stream in bytes.

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