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