public HHI_AppInfo GetAppInfo() { HHI_AppInfo appInfo = new HHI_AppInfo(); appInfo.CurrentVer = 1001; appInfo.NetProtocolVer = 1; return(appInfo); }
public string CheckVer() { HHI_AppInfo curAppInfo = GetAppInfo(); if (curAppInfo.CurrentVer >= HHI_Module.AppInfo_Latest.CurrentVer) { return("uptodate"); } else if (curAppInfo.CurrentVer < HHI_Module.AppInfo_Latest.CurrentVer) { if (curAppInfo.CurrentVer < HHI_Module.AppInfo_Min.CurrentVer || curAppInfo.NetProtocolVer != HHI_Module.AppInfo_Latest.NetProtocolVer) { return("obsoleted"); } } return(HHI_Module.AppInfo_Latest.DownloadableSite); }