一款简单易用的基础网络通讯组件库。

TransportStreamPosition 属性

When overridden in a derived class, gets or sets the position within the current stream.

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public override long Position { get; set; }

返回值

Int64
The current position within the stream.

异常

IOExceptionAn I/O error occurs.
NotSupportedExceptionThe stream does not support seeking.
ObjectDisposedExceptionMethods were called after the stream was closed.

参见