OhioSessionIndSendAsync Method |
Performs an IND$FILE send file to the host.
Namespace:
Flex.Hal.Ohio
Assembly:
Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 4.1.4031.1525
Syntax public Task<bool> IndSendAsync(
IndSettings settings,
TransferHost hostos,
string localfile,
string hostfile,
TransferFileType filetype,
CancellationToken canceltoken
)
Public Function IndSendAsync (
settings As IndSettings,
hostos As TransferHost,
localfile As String,
hostfile As String,
filetype As TransferFileType,
canceltoken As CancellationToken
) As Task(Of Boolean)
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 send.
Return Value
Type:
TaskBooleanTrue if file is sent successfully; otherwise false.
See Also