1. 检测新版本 在WCF中会有一个XML配置文件,用于客户检测版本和更新文件。 2. 下载文件以及覆盖旧文件 Live Update下载文件后先保存在临时文件夹,下载完毕后再从临时文件夹覆盖主应用程序的旧文件。防止自动更新中途失败导致主应用程序不可用。 3. WCF Contract(仅供参考) 
复制  保存using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;namespace WendyFinance.UpdateCenter.Contract
{    [ServiceContract]
    public interface IAutoUpdate
    {        [OperationContract]
        bool CheckUpdate(string clientVersion);        [OperationContract]
        string GetCurrentVersion();        [OperationContract]
        string GetUpdateDescription();        [OperationContract]
        List<string> GetFileList();        [OperationContract]
        string GetFile(string fileName);
    }