NegotiateStream.Seek Method (Int64, SeekOrigin)

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

public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset
Type: System.Int64

This value is ignored.

origin
Type: System.IO.SeekOrigin

This value is ignored.

Return Value

Type: System.Int64

Always throws a NotSupportedException.

Exception Condition
NotSupportedException

Seeking is not supported on NegotiateStream.

Do not call this method. It is inherited, but is not supported by NegotiateStream.

.NET Framework
Available since 2.0
Return to top
Show: