Exemplo n.º 1
0
    // Token: 0x06000043 RID: 67 RVA: 0x0000375C File Offset: 0x0000195C
    public static bool smethod_3(string string_0, long long_0, long long_1, string string_1)
    {
        FileInfo fileInfo = new FileInfo(string_0);

        if (fileInfo.Exists)
        {
            if (fileInfo.Length != long_0)
            {
                return(false);
            }
            if (long_1 == 0L)
            {
                return(true);
            }
            FileStream fileStream = new FileStream(string_0, FileMode.Open, FileAccess.Read);
            string     left       = Class27.smethod_4(fileStream, 5242880, long_1);
            fileStream.Close();
            return(Operators.CompareString(left, string_1, false) == 0);
        }
        else
        {
            if (long_1 != 0L)
            {
                return(false);
            }
            Class7.smethod_0(string_0, 5242880, long_0);
            return(true);
        }
    }
Exemplo n.º 2
0
    // Token: 0x06000044 RID: 68 RVA: 0x000037D4 File Offset: 0x000019D4
    public static string smethod_4(string string_0, long long_0)
    {
        if (long_0 == 0L)
        {
            return(string.Empty);
        }
        FileStream fileStream = new FileStream(string_0, FileMode.Open, FileAccess.Read);
        string     result     = Class27.smethod_4(fileStream, 5242880, long_0);

        fileStream.Close();
        return(result);
    }