Get the stream associated with the socket.
Namespace: EnterpriseDT.NetAssembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
Syntax
| C# |
|---|
public abstract Stream GetStream( bool ownsSocket ) |
| Visual Basic |
|---|
Public MustOverride Function GetStream ( _ ownsSocket As Boolean _ ) As Stream |
| Visual C++ |
|---|
public: virtual Stream^ GetStream( bool ownsSocket ) abstract |
Parameters
- ownsSocket
- Type: System..::..Boolean
true if the stream owns the socket, false otherwise
Remarks
If ownsSocket is true, the stream returned owns the socket, so closing the
stream will close the socket.