Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SslStream.Position Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the current position in the underlying stream.

Namespace: System.Net.Security
Assembly: System (in system.dll)

public override long Position { get; set; }
/** @property */
public long get_Position ()

/** @property */
public void set_Position (long value)

public override function get Position () : long

public override function set Position (value : long)

Property Value

A Int64.
Exception typeCondition

NotSupportedException

Setting this property is not supported.

-or-

Getting the value of this property is not supported when the underlying stream is a NetworkStream.

This property returns the value returned by invoking Position on the underlying stream. If the underlying stream is not seekable, this method typically throws an exception. The run-time type of the underlying stream determines the run-time type of the exception that is thrown.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.