C# Class GitForce.ClassVersion

This class implements the version related functions. It also checks for a new version of the program off the web.
Datei anzeigen Open project: gdevic/GitForce Class Usage Examples

Public Properties

Property Type Description
NewVersionAvailable bool

Public Methods

Method Description
ClassVersion ( ) : System

Class constructor starts a new version check thread.

GetBuild ( ) : string

Return the build date/time string

GetVersion ( ) : string

Returns the program version number

Private Methods

Method Description
AltThreadVersionCheck ( ) : void

This function is run on a separate thread. It checks for a new version.

ThreadVersionCheck ( ) : void

This function is run on a separate thread. It checks for a new version.

Method Details

ClassVersion() public method

Class constructor starts a new version check thread.
public ClassVersion ( ) : System
return System

GetBuild() public static method

Return the build date/time string
public static GetBuild ( ) : string
return string

GetVersion() public static method

Returns the program version number
public static GetVersion ( ) : string
return string

Property Details

NewVersionAvailable public_oe property

Set to true if a new version is available. This should really be interlocking, but volatile will do with bools.
public bool NewVersionAvailable
return bool