コード例 #1
0
 private void ParseRemoteXml(String versionXml)
 {
     if (versionXml == null || versionXml == "")
     {
         return;
     }
     try
     {
         XmlDocument remoteXml = UpdateUtils.LoadXmlFromString(versionXml);
         if (remoteXml == null)
         {
             return;
         }
         RemoteVersionNumber = UpdateUtils.GetVersionNumberFromXml(remoteXml);
         PackageFileName     = UpdateUtils.GetFileNameFromXml(remoteXml);
     }
     catch (Exception e)
     {
         Console.WriteLine(e.StackTrace);
         return;
     }
 }