FileCommunicatorOpenText Method

Opens text stream for reading.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void OpenText(
	string remoteFileNameWithoutPath,
	Encoding encoding,
	out bool autoConnectEnabled,
	CancellationToken cancelToken
)

Parameters

remoteFileNameWithoutPath  String
Name of the file to open.
encoding  Encoding
File encoding or null to read encoding from BOM.
autoConnectEnabled  Boolean
Returns value of AutoConnect to preform possible disconnect in CloseText.
cancelToken  CancellationToken
 

See Also