|
#region Assembly System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll
#endregion
using System.ComponentModel;
namespace System.Deployment.Application
{
public sealed class ApplicationDeployment
{
public static ApplicationDeployment CurrentDeployment { get; }
public static bool IsNetworkDeployed { get; }
public Uri ActivationUri { get; }
public Version CurrentVersion { get; }
public string DataDirectory { get; }
public bool IsFirstRun { get; }
public DateTime TimeOfLastUpdateCheck { get; }
public string UpdatedApplicationFullName { get; }
public Version UpdatedVersion { get; }
public Uri UpdateLocation { get; }
public event CheckForUpdateCompletedEventHandler CheckForUpdateCompleted;
public event DeploymentProgressChangedEventHandler CheckForUpdateProgressChanged;
public event DownloadFileGroupCompletedEventHandler DownloadFileGroupCompleted;
public event DeploymentProgressChangedEventHandler DownloadFileGroupProgressChanged;
public event AsyncCompletedEventHandler UpdateCompleted;
public event DeploymentProgressChangedEventHandler UpdateProgressChanged;
public UpdateCheckInfo CheckForDetailedUpdate();
public UpdateCheckInfo CheckForDetailedUpdate(bool persistUpdateCheckResult);
public bool CheckForUpdate();
public bool CheckForUpdate(bool persistUpdateCheckResult);
public void CheckForUpdateAsync();
public void CheckForUpdateAsyncCancel();
public void DownloadFileGroup(string groupName);
public void DownloadFileGroupAsync(string groupName);
public void DownloadFileGroupAsync(string groupName, object userState);
public void DownloadFileGroupAsyncCancel(string groupName);
public bool IsFileGroupDownloaded(string groupName);
public bool Update();
public void UpdateAsync();
public void UpdateAsyncCancel();
}
} |