C# Class Nexus.Client.DownloadManagement.FileDownloadTask.State

Stores the state of the task, so it can be resumed.
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
State ( bool p_booIsAsync, Uri p_uriURL, string>.Dictionary p_dicCookies, string p_strSavePath, bool p_booUseDefaultFileName ) : System

A simple constructor that initializes the object with the given values.

Method Details

State() public method

A simple constructor that initializes the object with the given values.
public State ( bool p_booIsAsync, Uri p_uriURL, string>.Dictionary p_dicCookies, string p_strSavePath, bool p_booUseDefaultFileName ) : System
p_booIsAsync bool Whether the file is being downloaded asynchronously.
p_uriURL System.Uri The URL of the file to download.
p_dicCookies string>.Dictionary A list of cookies that should be sent in the request to download the file.
p_strSavePath string The path to which to save the file. /// If is false, this value should be a complete /// path, including filename. If is true, /// this value should be the directory in which to save the file.
p_booUseDefaultFileName bool Whether to use the file name suggested by the server.
return System