// Token: 0x06000042 RID: 66 RVA: 0x00003714 File Offset: 0x00001914 public static bool smethod_2(string string_0, long long_0, string string_1) { FileInfo fileInfo = new FileInfo(string_0); if (!fileInfo.Exists) { return(false); } if (fileInfo.Length != long_0) { return(false); } FileStream fileStream = fileInfo.OpenRead(); string left = Class27.smethod_3(fileStream); fileStream.Close(); return(Operators.CompareString(left, string_1, false) == 0); }
// Token: 0x06000041 RID: 65 RVA: 0x000036AC File Offset: 0x000018AC public static GStruct3 smethod_1(string string_0) { GStruct3 gstruct = default(GStruct3); GStruct3 result; try { FileInfo fileInfo = new FileInfo(string_0); FileStream fileStream = fileInfo.OpenRead(); gstruct.string_0 = Class27.smethod_3(fileStream); gstruct.long_0 = fileInfo.Length; fileStream.Close(); result = gstruct; } catch (Exception ex) { GStruct3 gstruct2; result = gstruct2; } return(result); }