FileCommunicatorOpenBinary Method

Opens binary 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 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

See Also