C# Class fCraft.Updater

Checks for updates, and keeps track of current version/revision.
Show file Open project: GlennMR/800craft

Public Properties

Property Type Description
Changelog string
CurrentRelease ReleaseInfo
DownloadLocation string
UpdaterLocation string
WebVersion int
WebVersionFullString string

Public Methods

Method Description
CheckForUpdates ( ) : UpdaterResult
UpdateCheck ( ) : bool

Private Methods

Method Description
RaiseCheckedForUpdatesEvent ( string url, UpdaterResult result ) : void
RaiseCheckingForUpdatesEvent ( string &updateUrl ) : bool
Updater ( ) : System

Method Details

CheckForUpdates() public static method

public static CheckForUpdates ( ) : UpdaterResult
return UpdaterResult

UpdateCheck() public static method

public static UpdateCheck ( ) : bool
return bool

Property Details

Changelog public static property

public static string Changelog
return string

CurrentRelease public static property

public static ReleaseInfo CurrentRelease
return ReleaseInfo

DownloadLocation public static property

public static string DownloadLocation
return string

UpdaterLocation public static property

public static string UpdaterLocation
return string

WebVersion public static property

public static int WebVersion
return int

WebVersionFullString public static property

public static string WebVersionFullString
return string