C# Class PsHandler.AutoUpdater

Show file Open project: kampiuceris/PsHandler

Public Methods

Method Description
CheckForUpdate ( string hrefXml, string applicationName, string exeName, Window owner, System.Action actionQuit, System.Windows.Media.Imaging.BitmapSource iconWindow, System.Windows.Media.Imaging.BitmapSource iconButtonCancel, System.Windows.Media.Imaging.BitmapSource iconButtonUpdate ) : void
Quit ( ) : void

Private Methods

Method Description
CheckIfUpdateIsRequired ( string hrefXml, string &version, string &nameUpdateFile, string &hrefUpdateFile, string &updateInfo ) : bool
CheckRequiredFiles ( string fileNamesAndMd5 ) : bool
DeleteFiles ( IEnumerable fileNamesToDelete ) : void
DeleteUpdateFile ( string updateFileName ) : void
GetInfoFromXml ( string xml, string &version, IEnumerable &fileNamesToDelete, string &nameUpdateFile, string &hrefUpdateFile, string &fileNamesAndMd5, string &updateInfo ) : bool
GetMd5 ( string path, bool upperCaseHex = false ) : string
ShowUpdateDialog ( string hrefXml, string applicationName, string exeName, Window owner, System.Action quitAction, string hrefUpdateFile, string pathUpdateFile, string updateInfo, System.Windows.Media.Imaging.BitmapSource iconWindow, System.Windows.Media.Imaging.BitmapSource iconButtonCancel, System.Windows.Media.Imaging.BitmapSource iconButtonUpdate ) : void

Method Details

CheckForUpdate() public static method

public static CheckForUpdate ( string hrefXml, string applicationName, string exeName, Window owner, System.Action actionQuit, System.Windows.Media.Imaging.BitmapSource iconWindow, System.Windows.Media.Imaging.BitmapSource iconButtonCancel, System.Windows.Media.Imaging.BitmapSource iconButtonUpdate ) : void
hrefXml string
applicationName string
exeName string
owner System.Windows.Window
actionQuit System.Action
iconWindow System.Windows.Media.Imaging.BitmapSource
iconButtonCancel System.Windows.Media.Imaging.BitmapSource
iconButtonUpdate System.Windows.Media.Imaging.BitmapSource
return void

Quit() public static method

public static Quit ( ) : void
return void