![]() |
fCraft
0.638
Custom Minecraft Server
|
Checks for updates, and keeps track of current version/revision. More...
Collaboration diagram for fCraft.Updater:Static Public Member Functions | |
| static UpdaterResult | CheckForUpdates () |
| Checks fCraft.net for updated versions of fCraft. | |
Public Attributes | |
| const string | LatestStable = "0.638_r1886" |
| The latest stable branch/version of fCraft. | |
Static Public Attributes | |
| static readonly ReleaseInfo | CurrentRelease |
| The current release information of this version/revision. | |
Properties | |
| static string | UserAgent [get, set] |
| User-agent value used for HTTP requests (heartbeat, updater, external IP check, etc). Defaults to "fCraft" + VersionString of the current release. | |
| static string | UpdateUri [get, set] |
| Url to update fCraft from. Use "{0}" as a placeholder for CurrentRelease.Version.Revision | |
| static TimeSpan | UpdateCheckTimeout [get, set] |
| Amount of time in milliseconds before the updater will consider the connection dead. Default: 4000ms | |
| static bool | RunAtShutdown [get, set] |
| Whether or not the update installer (UpdateInstaller.exe) should run at shutdown. | |
Events | |
| static EventHandler < CheckingForUpdatesEventArgs > | CheckingForUpdates |
| Occurs when fCraft is about to check for updates (cancelable). The update Url may be overridden. | |
| static EventHandler < CheckedForUpdatesEventArgs > | CheckedForUpdates |
| Occurs when fCraft has just checked for updates. | |
Checks for updates, and keeps track of current version/revision.
|
static |
Checks fCraft.net for updated versions of fCraft.
|
static |
The current release information of this version/revision.
| const string fCraft.Updater.LatestStable = "0.638_r1886" |
The latest stable branch/version of fCraft.
|
staticgetset |
Whether or not the update installer (UpdateInstaller.exe) should run at shutdown.
|
staticgetset |
Amount of time in milliseconds before the updater will consider the connection dead. Default: 4000ms
|
staticgetset |
Url to update fCraft from. Use "{0}" as a placeholder for CurrentRelease.Version.Revision
|
staticgetset |
User-agent value used for HTTP requests (heartbeat, updater, external IP check, etc). Defaults to "fCraft" + VersionString of the current release.
|
static |
Occurs when fCraft has just checked for updates.
|
static |
Occurs when fCraft is about to check for updates (cancelable). The update Url may be overridden.