System.Net.Security.SslStream.SetLength Method

Sets the length of the underlying stream.

Syntax

public override void SetLength (long value)

Parameters

value
An long value that specifies the length of the stream.

Remarks

This method invokes System.IO.Stream.SetLength(long) on the underlying stream specified when this System.Net.Security.SslStream was created.

Requirements

Namespace: System.Net.Security
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0