Method DownloadFileWithConsoleProgress
DownloadFileWithConsoleProgress(string, string, Action<string>?, Action<string>?)
Downloads file from the specified url and outputs progress to console or to callback actions.
public static Task DownloadFileWithConsoleProgress(string docUrl, string filePath, Action<string>? writeLine = null, Action<string>? writeProgress = null)
Parameters
docUrl
stringfilePath
stringwriteLine
Action<string>Callback action to use instead of WriteLine(string)
writeProgress
Action<string>Callback action to use for progress outrut instead of WriteLine(string)