Click or drag to resize

OhioSessionIndRecvAsync Method

Performs an IND$FILE receive file from the host.

Namespace:  Flex.Hal.Ohio
Assembly:  Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 4.1.4031.1525
Syntax
public Task<bool> IndRecvAsync(
	IndSettings settings,
	TransferHost hostos,
	string localfile,
	string hostfile,
	TransferFileType filetype,
	CancellationToken canceltoken
)

Parameters

settings
Type: Flex.Hal.SettingsIndSettings
Transfer settings.
hostos
Type: Flex.Hal.SettingsTransferHost
Host OS type.
localfile
Type: SystemString
Local file name.
hostfile
Type: SystemString
Host file name.
filetype
Type: Flex.Hal.SettingsTransferFileType
File type (Text or Binary).
canceltoken
Type: System.ThreadingCancellationToken
Token to cancel the receive.

Return Value

Type: TaskBoolean
True if file is received successfully; otherwise false.
See Also