C# Class LongoMatch.Services.UpdatesNotifier

Inheritance: IService
Mostra file Open project: GNOME/longomatch Class Usage Examples

Public Methods

Method Description
CheckForUpdates ( ) : void
FetchNewVersion ( string url, string filename ) : bool
IsOutDated ( System.Version currentVersion, System.Version latestVersion ) : bool
ParseNewVersion ( string filename, System.Version &latestVersion, string &downloadURL, string &changeLog ) : bool
Start ( ) : bool
Stop ( ) : bool

Method Details

CheckForUpdates() public static method

public static CheckForUpdates ( ) : void
return void

FetchNewVersion() public static method

public static FetchNewVersion ( string url, string filename ) : bool
url string
filename string
return bool

IsOutDated() public static method

public static IsOutDated ( System.Version currentVersion, System.Version latestVersion ) : bool
currentVersion System.Version
latestVersion System.Version
return bool

ParseNewVersion() public static method

public static ParseNewVersion ( string filename, System.Version &latestVersion, string &downloadURL, string &changeLog ) : bool
filename string
latestVersion System.Version
downloadURL string
changeLog string
return bool

Start() public method

public Start ( ) : bool
return bool

Stop() public method

public Stop ( ) : bool
return bool