Esempio n. 1
0
        // Token: 0x060008D9 RID: 2265 RVA: 0x00039FE0 File Offset: 0x000381E0
        public Class_239.NClass_1 tmethod_1552(Class_239.NClass_0 arg_0)
        {
            if (arg_0 == null)
            {
                throw new ArgumentNullException("authInfos");
            }
            this.cmethod_1584();
            this.field_9 = true;
            Class_264 arg_;

            if (!string.IsNullOrEmpty(arg_0.nprop_3))
            {
                arg_ = new Class_264(arg_0.nprop_0, arg_0.nprop_1, arg_0.nprop_3);
            }
            else
            {
                arg_ = new Class_264(arg_0.nprop_0, arg_0.nprop_1);
            }
            Class_265 class_ = this.lmethod_1578 <Class_265>(arg_, null);

            byte[] byteDizi_ = class_.prop_3.FromBase64();
            this.field_7 = Class_223.pmethod_1469(byteDizi_, arg_0.nprop_2);
            Class_219[] array  = Class_223.pmethod_1479(class_.prop_2.FromBase64(), this.field_7);
            byte[]      source = Class_223.smethod_1480(class_.prop_0.FromBase64().FromMPINumber(), array[0], array[1], array[2]);
            this.field_6 = source.Take(43).ToArray <byte>().ToBase64();
            return(new Class_239.NClass_1(this.field_6, this.field_7));
        }
Esempio n. 2
0
 public void xmethod_1631(StreamingContext arg_0)
 {
     if (this.prop_3 != null && !this.field_1.Any(new Func <Class_277, bool>(this.gmethod_1633)))
     {
         this.field_1.Add(new Class_277(base.prop_3, this.prop_3));
     }
     this.prop_4 = this.prop_11.ToDateTime();
     if (base.prop_2 == Class_235.File || base.prop_2 == Class_235.Directory)
     {
         if (string.IsNullOrEmpty(this.prop_13))
         {
             this.prop_10 = true;
             return;
         }
         string text = this.prop_13.Split(new char[]
         {
             '/'
         })[0];
         int    num       = text.IndexOf(":", StringComparison.Ordinal);
         byte[] byteDizi_ = text.Substring(num + 1).FromBase64();
         if (this.field_1 != null)
         {
             Class_241.NClass_0 nclass_ = new Class_241.NClass_0();
             nclass_.field_4 = text.Substring(0, num);
             Class_277 class_ = this.field_1.FirstOrDefault(new Func <Class_277, bool>(nclass_.nmethod_1));
             if (class_ != null)
             {
                 this.field_0 = Class_223.pmethod_1469(class_.prop_1.FromBase64(), this.field_0);
                 if (base.prop_2 == Class_235.Directory)
                 {
                     this.prop_7 = this.field_0;
                 }
                 else
                 {
                     this.prop_7 = Class_223.pmethod_1469(byteDizi_, this.field_0);
                 }
             }
         }
         this.prop_6 = Class_223.pmethod_1469(byteDizi_, this.field_0);
         if (base.prop_2 == Class_235.File)
         {
             byte[] byteDizi_2;
             byte[] byteDizi_3;
             byte[] byteDizi_4;
             Class_223.xmethod_1471(this.prop_6, out byteDizi_2, out byteDizi_3, out byteDizi_4);
             this.prop_8 = byteDizi_2;
             this.prop_9 = byteDizi_3;
             this.prop_5 = byteDizi_4;
         }
         else
         {
             this.prop_5 = this.prop_6;
         }
         base.prop_6 = Class_223.lmethod_1478(this.prop_12.FromBase64(), this.prop_5);
     }
 }
Esempio n. 3
0
 // Token: 0x06000877 RID: 2167 RVA: 0x00039934 File Offset: 0x00037B34
 public static Class_219[] pmethod_1479(byte[] byteDizi_0, byte[] byteDizi_1)
 {
     byteDizi_0 = byteDizi_0.CopySubArray(byteDizi_0.Length + (16 - byteDizi_0.Length % 16), 0);
     byte[]      array  = Class_223.pmethod_1469(byteDizi_0, byteDizi_1);
     Class_219[] array2 = new Class_219[4];
     for (int i = 0; i < 4; i++)
     {
         array2[i] = array.FromMPINumber();
         int num = ((int)array[0] * 256 + (int)array[1] + 7) / 8;
         array = array.CopySubArray(array.Length - num - 2, num + 2);
     }
     return(array2);
 }