C# Class WmAutoUpdate.Updater

Datei anzeigen Open project: seboslaw/wmautoupdate Class Usage Examples

Public Methods

Method Description
CheckForNewVersion ( ) : void
Updater ( String url ) : System

Protected Methods

Method Description
OnUpdateDone ( ) : void
removeFile ( string FileName ) : bool
showUpdateDialog ( Stream file ) : bool

Private Methods

Method Description
CeRunAppAtTime ( string pwszAppName, SystemTime &lpTime ) : bool
assertPreviousUpdate ( ) : void
cleanup ( ) : void
getFilename ( String url ) : string
getFilenameFromPath ( String path ) : string
notification_AbortUpdateEvent ( ) : void
performUpdate ( object obj ) : void
restartApp ( ) : void
startUpdate ( ) : void

Method Details

CheckForNewVersion() public method

public CheckForNewVersion ( ) : void
return void

OnUpdateDone() protected method

protected OnUpdateDone ( ) : void
return void

Updater() public method

public Updater ( String url ) : System
url String
return System

removeFile() protected method

protected removeFile ( string FileName ) : bool
FileName string
return bool

showUpdateDialog() protected method

protected showUpdateDialog ( Stream file ) : bool
file Stream
return bool