C# Class BF2Statistics.ProgramUpdater

Auto updater for the BF2Statistics control center
Afficher le fichier Open project: BF2Statistics/ControlCenter

Méthodes publiques

Свойство Type Description
NewVersion System.Version
Url System.Uri

Méthodes publiques

Méthode Description
CheckForUpdateAsync ( ) : void

Checks for a new update Async.

DownloadUpdateAsync ( ) : bool

Downloads the new update from Github Async.

Private Methods

Méthode Description
ProgramUpdater ( ) : System
TaskForm_Cancelled ( object sender, CancelEventArgs e ) : void

Event called when the Cancel button is pushed on the main form

Wc_DownloadFileCompleted ( object sender, AsyncCompletedEventArgs e ) : void

Event called when an update file has completed its download

Wc_DownloadProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void

Event called when the progress of the download has changed

Method Details

CheckForUpdateAsync() public static méthode

Checks for a new update Async.
public static CheckForUpdateAsync ( ) : void
Résultat void

DownloadUpdateAsync() public static méthode

Downloads the new update from Github Async.
public static DownloadUpdateAsync ( ) : bool
Résultat bool

Property Details

NewVersion public_oe static_oe property

The new updated version
public static Version,System NewVersion
Résultat System.Version

Url public_oe static_oe property

Path to the Versions file
public static Uri,System Url
Résultat System.Uri