SslStream.Seek Method (Int64, SeekOrigin)

 
System_CAPS_noteNote

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

This API supports the product infrastructure and is not intended to be used directly from your code.

Throws a NotSupportedException.

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 by SslStream objects.

Do not call this method. It is inherited, but is not supported by the SslStream class.

.NET Framework
Available since 2.0
Return to top
Show: