Exemple #1
0
        public static PatchInfoReader Download(string address)
        {
            PatchInfoReader patchInfoReader;

            using (MemoryStream memoryStream = new MemoryStream((new MyWebClient()).DownloadData(address)))
            {
                patchInfoReader = PatchInfoReader.Load(XDocument.Load(memoryStream));
            }
            return(patchInfoReader);
        }
Exemple #2
0
 public static PatchInfoReader Load(string fileName)
 {
     return(PatchInfoReader.Load(XDocument.Load(fileName)));
 }