C# Class entity.Unused.Download_Manager

Show file Open project: troymac1ure/Entity

Public Methods

Method Description
DownloadFile ( string URL, string DestFile ) : void

The download file.

Download_Manager ( Form1 mainForm ) : System

Initializes a new instance of the Download_Manager class.

ResetCredentials ( ) : void

The reset credentials.

SetCredentials ( string UserName, string Password ) : void

The set credentials.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Cancel_Click ( object sender, EventArgs e ) : void

The cancel_ click.

Cancel_Click_1 ( object sender, EventArgs e ) : void

The cancel_ click_1.

DownloadFTP ( ) : void

The download ftp.

DownloadHTTP ( ) : void

The download http.

Download_Manager_FormClosed ( object sender, FormClosedEventArgs e ) : void

The download_ manager_ form closed.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

UpdateProgress ( string source, string dest, long BytesRead, long TotalBytes ) : void

The update progress.

timer_Tick ( object sender, EventArgs e ) : void

The timer_ tick.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DownloadFile() public method

The download file.
public DownloadFile ( string URL, string DestFile ) : void
URL string The url.
DestFile string The dest file.
return void

Download_Manager() public method

Initializes a new instance of the Download_Manager class.
public Download_Manager ( Form1 mainForm ) : System
mainForm Form1 The main form.
return System

ResetCredentials() public method

The reset credentials.
public ResetCredentials ( ) : void
return void

SetCredentials() public method

The set credentials.
public SetCredentials ( string UserName, string Password ) : void
UserName string The user name.
Password string The password.
return void