AppUpdater.AppUpdater.applyUpdate C# (CSharp) Method

applyUpdate() public method

public applyUpdate ( ) : void
return void
        public virtual void applyUpdate()
        {
            if (newVersionInfo != null && !String.IsNullOrEmpty(newVersionInfo.packageUrl))
                System.Diagnostics.Process.Start(newVersionInfo.packageUrl);
        }

Usage Example

 private void VersionUpdateInfo_Click(object sender, RoutedEventArgs e)
 {
     if (appUpdater != null)
     {
         appUpdater.applyUpdate();
     }
 }