SetLength Method

CryptoStream.SetLength Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Throws a NotSupportedException in all cases.

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

public override void SetLength(
	long value
)

Parameters

value
Type: System.Int64
The desired length of the current stream, in bytes.

ExceptionCondition
NotSupportedException

In all cases.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft