C# Class taskforceInstaller.taskforceMain

Inheritance: MetroFramework.Forms.MetroForm
Show file Open project: MrDarkSkil/Launcher_Arma3

Public Methods

Method Description
FormatBytes ( long bytes ) : string
FormatDurationSeconds ( int seconds ) : string
taskforceMain ( string _apiUrl, string _appdata, string _vTaskForce, string _launcherDest, string _serverID, string _downloadPath ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

getFileMd5 ( string filePath ) : string

Private Methods

Method Description
InitializeComponent ( ) : void

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

autodetectTeamSpeak ( ) : void
chooseButton_Click ( object sender, EventArgs e ) : void
client_DownloadFileCompleted ( object sender, AsyncCompletedEventArgs e ) : void
client_DownloadProgressChanged ( object sender, System e ) : void
installButton_Click ( object sender, EventArgs e ) : void
startDownload ( string remote, string local ) : void
taskforceMain_Load ( object sender, EventArgs e ) : void

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

FormatBytes() public method

public FormatBytes ( long bytes ) : string
bytes long
return string

FormatDurationSeconds() public static method

public static FormatDurationSeconds ( int seconds ) : string
seconds int
return string

getFileMd5() protected method

protected getFileMd5 ( string filePath ) : string
filePath string
return string

taskforceMain() public method

public taskforceMain ( string _apiUrl, string _appdata, string _vTaskForce, string _launcherDest, string _serverID, string _downloadPath ) : System
_apiUrl string
_appdata string
_vTaskForce string
_launcherDest string
_serverID string
_downloadPath string
return System