private Task <string> SendCommandAsync(HwiCommands?command = null, string[] commandArguments = null, CancellationToken cancellationToken = default) { List <HwiOption> options = new List <HwiOption>(); if (!string.IsNullOrEmpty(Password)) { options.Add(HwiOption.Password(Password)); } return(HwiClient.SendCommandAsync(DeviceSelector, options, command, commandArguments, cancellationToken)); }
private Task<string> SendCommandAsync(HwiCommands? command = null, string[] commandArguments = null, CancellationToken cancellationToken = default) { return HwiClient.SendCommandAsync(DeviceSelector, null, command, commandArguments, cancellationToken); }