Beispiel #1
0
 // Token: 0x06001094 RID: 4244
 // RVA: 0x0001021D File Offset: 0x0000E41D
 public Class130(string string_1)
     : base(string_1)
 {
     this.method_1(8192);
     this.class162_0 = new Class162();
     this.class167_0 = new Class167();
     this.class162_0.method_26(this.class167_0);
 }
Beispiel #2
0
 // Token: 0x0600120F RID: 4623
 // RVA: 0x00060CF4 File Offset: 0x0005EEF4
 public string method_7(bool bool_2)
 {
     if (this.delegate5_0 != null)
     {
         this.delegate5_0();
     }
     this.class162_0 = new Class162();
     this.class162_0.method_26(this.class167_0);
     this.class162_0.method_12(new EventHandler(this.method_8));
     MemoryStream memoryStream = new MemoryStream();
     try
     {
         Class149 class = this.class167_0.Items.method_1(this.string_1, this.string_2);
 // Token: 0x060011FE RID: 4606
 // RVA: 0x00060A38 File Offset: 0x0005EC38
 public override void Perform(bool bool_2)
 {
     if (this.delegate5_0 != null)
     {
         this.delegate5_0();
     }
     string directoryName = Path.GetDirectoryName(this.string_1);
     if (directoryName != string.Empty && !Directory.Exists(directoryName))
     {
         Directory.CreateDirectory(directoryName);
     }
     using (this.fileStream_0 = new FileStream(this.string_1, FileMode.Create, FileAccess.Write, FileShare.Write, 4096))
     {
         try
         {
             this.class162_0 = new Class162();
             this.class162_0.method_32(new Delegate16(this.method_3));
             this.class162_0.Get(this.string_0, this.fileStream_0);
             this.class162_0.Close();
         }
         catch (Exception ex)
         {
             if (this.delegate10_0 != null)
             {
                 this.delegate10_0(this.string_1, ex);
             }
             this.fileStream_0.Close();
             Class34.smethod_18(this.string_1);
             if (bool_2 && !(ex is ThreadAbortException))
             {
                 throw;
             }
             return;
         }
     }
     if (this.delegate10_0 != null)
     {
         this.delegate10_0(this.string_1, null);
     }
 }