Zdexby TheHolyOneZ
49,743 classes
Class

NetworkStream

: Stream : MarshalByRefObject : Object
System.Net.Sockets.NetworkStream, System 0x0048 (72 B) inherited 0x0028 System.dll
0x00x0048

Members 8

OffsetSizeNameTypeFlagsDefault
0x08_streamSocketSocketPrivate+1 flags—
0x01_ownsSocketboolPrivate+1 flags—
0x01_readableboolPrivate—
0x01_writeableboolPrivate—
0x00330x01padding / unreflected
0x04_closeTimeoutintPrivate—
0x01_cleanedUpboolPrivate—
0x00390x03padding / unreflected
0x04_currentReadTimeoutintPrivate—
0x04_currentWriteTimeoutintPrivate—
0x00440x04unreflected bytes to end of NetworkStream
Inherited from Stream 3
OffsetSizeNameTypeFlagsDefault
0x08NullStreamPublicStatic+1 flags—
0x00080x10padding / unreflected
0x08_activeReadWriteTaskReadWriteTaskPrivate+1 flags—
0x08_asyncActiveSemaphoreSemaphoreSlimPrivate+1 flags—
Inherited from MarshalByRefObject 1
OffsetSizeNameTypeFlagsDefault
0x08_identityobjectPrivate+1 flags—

Functions 37

SignatureFlagsNativeParams
void .ctor(Socket socket)Public+1 flags0x08
void .ctor(Socket socket, bool ownsSocket)Public+1 flags0x08
void .ctor(Socket socket, const FileAccess& access, bool ownsSocket)Public+1 flags0x08
bool get_CanRead()Public+2 flags0x01
bool get_CanSeek()Public+2 flags0x01
bool get_CanWrite()Public+2 flags0x01
bool get_CanTimeout()Public+2 flags0x01
int get_ReadTimeout()Public+2 flags0x04
void set_ReadTimeout(int value)Public+2 flags0x04
int get_WriteTimeout()Public+2 flags0x04
void set_WriteTimeout(int value)Public+2 flags0x04
long get_Length()Public+2 flags0x08
long get_Position()Public+2 flags0x08
void set_Position(long value)Public+2 flags0x08
long Seek(long offset, const SeekOrigin& origin)Public+1 flags0x08
int Read(const byte[]& buffer, int offset, int size)Public+1 flags0x08
int Read(const Span<System.Byte>& destination)Public+1 flags0x10
int ReadByte()Public+1 flags0x04
void Write(const byte[]& buffer, int offset, int size)Public+1 flags0x08
void Write(const ReadOnlySpan<System.Byte>& source)Public+1 flags0x10
void WriteByte(byte value)Public+1 flags0x01
void Close(int timeout)Public0x04
void Dispose(bool disposing)2 flags0x01
void Finalize()2 flags0x00
IAsyncResult BeginRead(const byte[]& buffer, int offset, int size, AsyncCallback callback, object state)Public+1 flags0x08
int EndRead(IAsyncResult asyncResult)Public+1 flags0x08
IAsyncResult BeginWrite(const byte[]& buffer, int offset, int size, AsyncCallback callback, object state)Public+1 flags0x08
void EndWrite(IAsyncResult asyncResult)Public+1 flags0x08
Task<System.Int32> ReadAsync(const byte[]& buffer, int offset, int size, const CancellationToken& cancellationToken)Public+1 flags0x08
ValueTask<System.Int32> ReadAsync(const Memory<System.Byte>& buffer, const CancellationToken& cancellationToken)Public+1 flags0x10
Task WriteAsync(const byte[]& buffer, int offset, int size, const CancellationToken& cancellationToken)Public+1 flags0x08
ValueTask WriteAsync(const ReadOnlyMemory<System.Byte>& buffer, const CancellationToken& cancellationToken)Public+1 flags0x10
void Flush()Public+1 flags0x00
Task FlushAsync(const CancellationToken& cancellationToken)Public+1 flags0x08
void SetLength(long value)Public+1 flags0x08
void SetSocketTimeoutOption(const SocketShutdown& mode, int timeout, bool silent)1 flags0x04
Socket get_InternalSocket()2 flags0x08

Subclasses 1

Used by 6

types with a member, parameter or interface of this type