SslStream.Seek Method (Int64, SeekOrigin)

 

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 Overrides Function Seek (
	offset As Long,
	origin As SeekOrigin
) As Long

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: