Mentalis.org Security Library documentation

SecureNetworkStream.Seek Method 

Sets the current position of the stream to the given value. This method always throws a NotSupportedException.

[Visual Basic]
Overrides Public Function Seek( _
   ByVal offset As Long, _
   ByVal origin As SeekOrigin _
) As Long
[C#]
public override long Seek(
   long offset,
   SeekOrigin origin
);

Parameters

offset
This parameter is not used.
origin
This parameter is not used.

Return Value

The position in the stream. This method is not supported.

Exceptions

Exception TypeCondition
NotSupportedExceptionThe Seek method is not supported.

See Also

SecureNetworkStream Class | SecureNetworkStream Members | Org.Mentalis.Security.Ssl Namespace