edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

StandardSocketGetStream(Boolean) Method

Get the stream associated with the socket.

Definition

Namespace: EnterpriseDT.Net
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public override Stream GetStream(
	bool ownsSocket
)

Parameters

ownsSocket  Boolean
true if the stream owns the socket, false otherwise

Return Value

Stream

Remarks

If ownsSocket is ture, the stream returned owns the socket, so closing the stream will close the socket.

See Also