FileCommunicatorOpenBinary Method
Opens binary stream for reading.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public void OpenBinary(
string remoteFileNameWithoutPath,
out long fileSize,
out bool autoConnectEnabled,
CancellationToken cancelToken
)
Parameters
- remoteFileNameWithoutPath String
- Name of the file to open.
- fileSize Int64
- Size in bytes of opened file.
- autoConnectEnabled Boolean
- Returns value of AutoConnect to preform possible disconnect in CloseText.
- cancelToken CancellationToken