C# Class GitForce.ClassVersion

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

Méthodes publiques

Свойство Type Description
NewVersionAvailable bool

Méthodes publiques

Méthode 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

Méthode 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 méthode

Class constructor starts a new version check thread.
public ClassVersion ( ) : System
Résultat System

GetBuild() public static méthode

Return the build date/time string
public static GetBuild ( ) : string
Résultat string

GetVersion() public static méthode

Returns the program version number
public static GetVersion ( ) : string
Résultat 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
Résultat bool