FileCommunicatorOpenText Method
Opens text stream for reading.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
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
-