C# Class Winkle.VersionCheck

Afficher le fichier Open project: seboslaw/Winkle Class Usage Examples

Méthodes publiques

Свойство Type Description
errorCode string
showWindowIfUpdateAvailable bool
versionToUse string

Méthodes publiques

Méthode Description
VersionCheck ( string appName, string updateUrl ) : System
checkForUpdate ( System assembly, bool includeBetaVersions ) : UpdateInfo
checkForUpdate ( System.Version version, bool includeBetaVersions ) : UpdateInfo
checkForUpdate ( int currentMajorVersion, int currentMinorVersion, int currentBuild, int currentRevision, bool includeBetaVersions ) : UpdateInfo

Private Methods

Méthode Description
_doUpdateCheck ( int currentMajorVersion, int currentMinorVersion, int currentBuild, int currentRevision, bool includeBetaVersions ) : UpdateInfo
getChangeLog ( ) : void
getDownloadLinkUrl ( bool includeBetaVersion ) : string
getLatestBuild ( bool includeBetaVersion ) : int
getLatestMajorVersion ( bool includeBetaVersion ) : int
getLatestMinorVersion ( bool includeBetaVersion ) : int
getLatestRevision ( bool includeBetaVersion ) : int
getPrettyName ( XmlNode currentNode ) : string
getSingleVersionNumber ( string partOfNumber, bool includeBetaVersion ) : int
getUpdateDescription ( bool includeBetaVersion ) : string
getUpdateFile ( string updateUrl ) : XmlDocument
getVersion ( XmlNode currentNode, string type ) : int

Method Details

VersionCheck() public méthode

public VersionCheck ( string appName, string updateUrl ) : System
appName string
updateUrl string
Résultat System

checkForUpdate() public méthode

public checkForUpdate ( System assembly, bool includeBetaVersions ) : UpdateInfo
assembly System
includeBetaVersions bool
Résultat UpdateInfo

checkForUpdate() public méthode

public checkForUpdate ( System.Version version, bool includeBetaVersions ) : UpdateInfo
version System.Version
includeBetaVersions bool
Résultat UpdateInfo

checkForUpdate() public méthode

public checkForUpdate ( int currentMajorVersion, int currentMinorVersion, int currentBuild, int currentRevision, bool includeBetaVersions ) : UpdateInfo
currentMajorVersion int
currentMinorVersion int
currentBuild int
currentRevision int
includeBetaVersions bool
Résultat UpdateInfo

Property Details

errorCode public_oe property

public string errorCode
Résultat string

showWindowIfUpdateAvailable public_oe property

public bool showWindowIfUpdateAvailable
Résultat bool

versionToUse public_oe property

public string versionToUse
Résultat string