[This is preliminary documentation and is subject to change.]

Checks for updates, and keeps track of current version/revision.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public static class Updater

Members

               
 All Members  Fields   Properties   Methods   Events  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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). Defaults to "fCraft" + VersionString of the current release.

Inheritance Hierarchy

System..::..Object
  fCraft..::..Updater

See Also