C# Class Microsoft.HockeyApp.IAppVersionExtensions

Interface for app version.
Show file Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
DownloadMsi ( this @this, bool>.Func progress = null, System.Action completed = null ) : Task

Downloads the new version to a temporary folder and provides the generated filename. The progress delegate returns, if the download process should be canceled. Return false, if not.

InstallVersion ( this @this ) : void

Installs the app. If not downloaded, the download will start implicitly. After starting the install process a call to Environment.Exit is done.

Method Details

DownloadMsi() public static method

Downloads the new version to a temporary folder and provides the generated filename. The progress delegate returns, if the download process should be canceled. Return false, if not.
public static DownloadMsi ( this @this, bool>.Func progress = null, System.Action completed = null ) : Task
@this this
progress bool>.Func The progress.
completed System.Action callbakc when download is completed.
return Task

InstallVersion() public static method

Installs the app. If not downloaded, the download will start implicitly. After starting the install process a call to Environment.Exit is done.
public static InstallVersion ( this @this ) : void
@this this
return void