C# Class Winkle.VersionCheck

Exibir arquivo Open project: seboslaw/Winkle Class Usage Examples

Public Properties

Property Type Description
errorCode string
showWindowIfUpdateAvailable bool
versionToUse string

Public Methods

Method 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

Method 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 method

public VersionCheck ( string appName, string updateUrl ) : System
appName string
updateUrl string
return System

checkForUpdate() public method

public checkForUpdate ( System assembly, bool includeBetaVersions ) : UpdateInfo
assembly System
includeBetaVersions bool
return UpdateInfo

checkForUpdate() public method

public checkForUpdate ( System.Version version, bool includeBetaVersions ) : UpdateInfo
version System.Version
includeBetaVersions bool
return UpdateInfo

checkForUpdate() public method

public checkForUpdate ( int currentMajorVersion, int currentMinorVersion, int currentBuild, int currentRevision, bool includeBetaVersions ) : UpdateInfo
currentMajorVersion int
currentMinorVersion int
currentBuild int
currentRevision int
includeBetaVersions bool
return UpdateInfo

Property Details

errorCode public_oe property

public string errorCode
return string

showWindowIfUpdateAvailable public_oe property

public bool showWindowIfUpdateAvailable
return bool

versionToUse public_oe property

public string versionToUse
return string