NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

NetworkStream Constructor

Creates a new instance of the NetworkStream class.

Overload List

Creates a new instance of the NetworkStream class for the specified Socket.

[Visual Basic] Overloads Public Sub New(Socket)
[C#] public NetworkStream(Socket);
[C++] public: NetworkStream(Socket*);
[JScript] public function NetworkStream(Socket);

Creates a new instance of the NetworkStream class for the specified Socket with the specified access rights.

[Visual Basic] Overloads Public Sub New(Socket, FileAccess)
[C#] public NetworkStream(Socket, FileAccess);
[C++] public: NetworkStream(Socket*, FileAccess);
[JScript] public function NetworkStream(Socket, FileAccess);

See Also

NetworkStream Class | NetworkStream Members | System.Net.Sockets Namespace