NetworkStream.Position Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the current position in the stream. This property is not currently supported and always throws a NotSupportedException.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public override long Position { get; set; }

Property Value

Type: System.Int64

The current position in the stream.

Exception Condition

Any use of this property.

.NET Framework
Available since 1.1
Return to top