OhioSessionIndRecvAsync Method |
Performs an IND$FILE receive file from the host.
Namespace: Flex.Hal.OhioAssembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax public Task<bool> IndRecvAsync(
IndSettings settings,
TransferHost hostos,
string localfile,
string hostfile,
TransferFileType filetype,
CancellationToken canceltoken = default
)
Public Function IndRecvAsync (
settings As IndSettings,
hostos As TransferHost,
localfile As String,
hostfile As String,
filetype As TransferFileType,
Optional canceltoken As CancellationToken = Nothing
) As Task(Of Boolean)
Parameters
- settings IndSettings
- Transfer settings.
- hostos TransferHost
- Host OS type.
- localfile String
- Local file name.
- hostfile String
- Host file name.
- filetype TransferFileType
- File type (Text or Binary).
- canceltoken CancellationToken (Optional)
- Token to cancel the receive.
Return Value
TaskBooleanTrue if file is received successfully; otherwise false.
See Also