C# Class PurplePen.Updater

Afficher le fichier Open project: petergolde/PurplePen

Méthodes publiques

Méthode Description
CheckForUpdates ( ) : void
DownloadAndInstall ( Uri downloadFrom, string fileName, bool exitToInstall ) : bool

Private Methods

Méthode Description
AskToDownload ( string versionNumber, string fileName ) : void
DeletePreviouslyDownloadedFiles ( ) : void
FindNonexistantFile ( string downloadedFile ) : string
GetDownloadDirectory ( ) : string
Install ( string downloadedInstallerFile, bool exitToInstall ) : bool
JsonEncode ( string s ) : string
versionCheckWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
versionCheckWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

CheckForUpdates() public static méthode

public static CheckForUpdates ( ) : void
Résultat void

DownloadAndInstall() public static méthode

public static DownloadAndInstall ( Uri downloadFrom, string fileName, bool exitToInstall ) : bool
downloadFrom System.Uri
fileName string
exitToInstall bool
Résultat bool