[This is preliminary documentation and is subject to change.]
Checks for updates, and keeps track of current version/revision.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)
Syntax
| C# |
public static class Updater
Members
| All Members | Fields | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| CheckedForUpdates | Occurs when fCraft has just checked for updates. | |
| CheckForUpdates()()()() | Checks fCraft.net for updated versions of fCraft. | |
| CheckingForUpdates | Occurs when fCraft is about to check for updates (cancelable).
The update Url may be overridden. | |
| CurrentRelease | The current release information of this version/revision. | |
| LatestStable | The latest stable branch/version of fCraft. | |
| RunAtShutdown | Whether or not the update installer (UpdateInstaller.exe) should run at shutdown. | |
| UpdateCheckTimeout | Amount of time in milliseconds before the updater will consider the connection dead.
Default: 4000ms | |
| UpdateUri | Url to update fCraft from. Use "{0}" as a placeholder for CurrentRelease.Version.Revision | |
| UserAgent | User-agent value used for HTTP requests (heartbeat, updater, external IP check, etc). |