示例#1
0
 public static byte[] smethod_2(Uri uri_0, TimeSpan timeSpan_0)
 {
     try
     {
         string str = GClass88.smethod_11(uri_0.smethod_14());
         if (!str.smethod_15(timeSpan_0))
         {
             return(File.ReadAllBytes(str));
         }
         try
         {
             byte[] bytes = new GClass78().method_2(uri_0.ToString());
             File.WriteAllBytes(str, bytes);
             return(bytes);
         }
         catch
         {
             return(File.Exists(str) ? File.ReadAllBytes(str) : (byte[])null);
         }
     }
     catch
     {
         return((byte[])null);
     }
 }
示例#2
0
 public static void smethod_3(Uri uri_0, TimeSpan timeSpan_0, Action <GClass87> action_0, Action action_1)
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: variable of a compiler-generated type
     GClass88.Class66 class66 = new GClass88.Class66();
     // ISSUE: reference to a compiler-generated field
     class66.uri_0 = uri_0;
     // ISSUE: reference to a compiler-generated field
     class66.action_0 = action_0;
     // ISSUE: reference to a compiler-generated field
     class66.action_1 = action_1;
     // ISSUE: reference to a compiler-generated field
     // ISSUE: reference to a compiler-generated field
     class66.string_0 = GClass88.smethod_11(class66.uri_0.smethod_14());
     // ISSUE: reference to a compiler-generated field
     if (class66.string_0.smethod_15(timeSpan_0))
     {
         // ISSUE: reference to a compiler-generated method
         Task.Run(new Action(class66.method_0));
     }
     else
     {
         // ISSUE: reference to a compiler-generated field
         if (new FileInfo(class66.string_0).Length <= 0L)
         {
             return;
         }
         // ISSUE: reference to a compiler-generated field
         // ISSUE: reference to a compiler-generated field
         // ISSUE: reference to a compiler-generated field
         class66.action_0(new GClass87(File.ReadAllBytes(class66.string_0), class66.string_0, true));
     }
 }
示例#3
0
 public static byte[] smethod_4(string string_1)
 {
     if (GClass88.smethod_1(string_1))
     {
         return(File.ReadAllBytes(GClass88.smethod_11(string_1)));
     }
     return((byte[])null);
 }
示例#4
0
 public static void smethod_0(string string_1)
 {
     if (!GClass88.smethod_1(string_1))
     {
         return;
     }
     GClass6.smethod_6(GClass88.smethod_11(string_1));
 }
示例#5
0
 internal static string smethod_12(string string_1)
 {
     if (GClass88.smethod_1(string_1))
     {
         return(File.ReadAllText(GClass88.smethod_11(string_1)));
     }
     return((string)null);
 }
示例#6
0
 public static string[] smethod_7(string string_1)
 {
     if (GClass88.smethod_1(string_1))
     {
         return(File.ReadAllLines(GClass88.smethod_11(string_1)));
     }
     return((string[])null);
 }
示例#7
0
 public static bool smethod_1(string string_1)
 {
     return(File.Exists(GClass88.smethod_11(string_1)));
 }
示例#8
0
 public static void smethod_10(string string_1, string[] string_2)
 {
     File.WriteAllLines(GClass88.smethod_11(string_1), string_2);
 }
示例#9
0
 public static void smethod_9(Uri uri_0, byte[] byte_0)
 {
     File.WriteAllBytes(GClass88.smethod_11(uri_0.smethod_14()), byte_0);
 }
示例#10
0
 public static DateTime smethod_6(string string_1)
 {
     return(new FileInfo(GClass88.smethod_11(string_1)).LastWriteTime);
 }