예제 #1
0
        private List <GClass16> method_11(string string_0)
        {
            GClass14 gclass14_0 = this.method_2(string_0);

            if (!this.method_9(string_0))
            {
                this.method_10(gclass14_0);
            }
            using (MD5 md5 = MD5.Create())
            {
                if (!md5.ComputeHash(Alphaleonis.Win32.Filesystem.File.ReadAllBytes(this.method_12(string_0))).smethod_5(gclass14_0.Md5.smethod_6()))
                {
                    this.method_10(gclass14_0);
                }
            }
            GClass6.smethod_9(Alphaleonis.Win32.Filesystem.File.ReadAllBytes(this.method_12(string_0)), this.String_0);
            using (FileStream fileStream = Alphaleonis.Win32.Filesystem.File.OpenRead(this.method_12(string_0)))
            {
                using (ZipArchive zipArchive = new ZipArchive((Stream)fileStream, ZipArchiveMode.Read))
                {
                    try
                    {
                        return(JsonConvert.DeserializeObject <List <GClass16> >(zipArchive.Entries.First <ZipArchiveEntry>((Func <ZipArchiveEntry, bool>)(zipArchiveEntry_0 => zipArchiveEntry_0.Name == "usbhelper.mappings")).smethod_7()));
                    }
                    catch
                    {
                        return(new List <GClass16>());
                    }
                }
            }
        }
예제 #2
0
 public static void smethod_8(string string_0, string string_1)
 {
     GClass6.smethod_9(new GClass78().method_2(string_0), string_1);
 }