C# Class Koffeinfrei.Base.KfUpdater

ファイルを表示 Open project: Miners/MinusShare Class Usage Examples

Public Methods

Method Description
Check ( ) : void

Determines whether the server has a more recent version of the application.

KfUpdater ( string versionFileUrl, string downloadUrlFormat ) : System

Initializes a new instance of the KfUpdater class.

Update ( ) : void

Updates the specified download URL format.

Private Methods

Method Description
webClient_DownloadStringCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void

Method Details

Check() public method

Determines whether the server has a more recent version of the application.
public Check ( ) : void
return void

KfUpdater() public method

Initializes a new instance of the KfUpdater class.
public KfUpdater ( string versionFileUrl, string downloadUrlFormat ) : System
versionFileUrl string The version file URL.
downloadUrlFormat string The download URL format, e.g. /// https://github.com/downloads/koffeinfrei/zueribad-wintray/zueribad_setup_{0}.msi ///
return System

Update() public method

Updates the specified download URL format.
public Update ( ) : void
return void