// Token: 0x060008EF RID: 2287 RVA: 0x0003AD4C File Offset: 0x00038F4C public Class_233 cmethod_1574(Class_233 arg_0, string str_0) { Class_239.NClass_7 nclass_ = new Class_239.NClass_7(); nclass_.field_12 = arg_0; if (nclass_.field_12 == null) { throw new ArgumentNullException("node"); } if (nclass_.field_12.prop_1 != Class_235.Directory && nclass_.field_12.prop_1 != Class_235.File) { throw new ArgumentException("Invalid node type"); } if (string.IsNullOrEmpty(str_0)) { throw new ArgumentNullException("newName"); } Class_234 class_ = nclass_.field_12 as Class_234; if (class_ == null) { throw new ArgumentException("node must implement INodeCrypto"); } this.gmethod_1583(); byte[] data = Class_223.kmethod_1477(new Class_254(str_0, ((Class_241)nclass_.field_12).prop_6), class_.prop_0); this.kmethod_1577(new Class_271(nclass_.field_12, data.ToBase64())); return(this.smethod_1560().First(new Func <Class_233, bool>(nclass_.nmethod_26))); }
// Token: 0x060008E8 RID: 2280 RVA: 0x0003A650 File Offset: 0x00038850 public Stream kmethod_1567(Class_233 arg_0, CancellationToken?arg_1 = null) { if (arg_0 == null) { throw new ArgumentNullException("node"); } if (arg_0.prop_1 != Class_235.File) { throw new ArgumentException("Invalid node"); } Class_234 class_ = arg_0 as Class_234; if (class_ == null) { throw new ArgumentException("node must implement INodeCrypto"); } this.gmethod_1583(); Class_257 arg_2 = new Class_257(arg_0); Class_259 class_2 = this.lmethod_1578 <Class_259>(arg_2, null); Stream stream = new Class_248(new Class_245(this.field_3.vmethod_1545(new Uri(class_2.prop_0))), class_2.prop_1, class_.prop_0, class_.prop_2, class_.prop_3); if (arg_1 != null) { stream = new Class_246(stream, arg_1.Value); } return(stream); }
// Token: 0x060009E5 RID: 2533 RVA: 0x0003CFC8 File Offset: 0x0003B1C8 private Class_255(Class_233 arg_0, Class_235 arg_1, string str_0, string str_1, byte[] byteDizi_0, string str_2) : base("p") { this.prop_0 = arg_0.prop_0; this.prop_2 = new Class_255.NClass_0[] { new Class_255.NClass_0 { nprop_2 = str_0, nprop_3 = str_1, nprop_1 = arg_1, nprop_0 = str_2 } }; Class_234 class_ = arg_0 as Class_234; if (class_ == null) { throw new ArgumentException("parentNode node must implement INodeCrypto"); } if (class_.prop_1 != null) { this.prop_1 = new Class_275(arg_0.prop_0); this.prop_1.vmethod_1815(str_2, byteDizi_0, class_.prop_1); } }
// Token: 0x060008E5 RID: 2277 RVA: 0x0003A434 File Offset: 0x00038634 public Uri cmethod_1564(Class_233 arg_0) { Class_239.NClass_4 nclass_ = new Class_239.NClass_4(); nclass_.field_9 = arg_0; if (nclass_.field_9 == null) { throw new ArgumentNullException("node"); } if (nclass_.field_9.prop_1 != Class_235.File && nclass_.field_9.prop_1 != Class_235.Directory) { throw new ArgumentException("Invalid node"); } this.gmethod_1583(); if (nclass_.field_9.prop_1 == Class_235.Directory) { this.kmethod_1577(new Class_278(nclass_.field_9, this.field_7, this.smethod_1560())); nclass_.field_9 = this.smethod_1560().First(new Func <Class_233, bool>(nclass_.nmethod_20)); } Class_234 class_ = nclass_.field_9 as Class_234; if (class_ == null) { throw new ArgumentException("node must implement INodeCrypto"); } Class_260 arg_ = new Class_260(nclass_.field_9); string arg = this.lmethod_1578 <string>(arg_, null); return(new Uri(Class_239.field_1, string.Format("/{0}/{1}#{2}", (nclass_.field_9.prop_1 == Class_235.Directory) ? "folder" : "file", arg, (nclass_.field_9.prop_1 == Class_235.Directory) ? class_.prop_1.ToBase64() : class_.prop_4.ToBase64()))); }
// Token: 0x06000A7A RID: 2682 RVA: 0x0003DAEC File Offset: 0x0003BCEC public Class_278(Class_233 arg_0, byte[] byteDizi_0, IEnumerable<Class_233> arg_1) : base("s2") { this.prop_0 = arg_0.prop_0; this.prop_2 = new object[] { new Class_218<int, string>(0, "EXP") }; Class_234 class_ = (Class_234)arg_0; byte[] array = class_.prop_1; if (array == null) { array = Class_223.dmethod_1476(); } this.prop_4 = Class_223.smethod_1470(array, byteDizi_0).ToBase64(); if (class_.prop_1 == null) { this.prop_3 = new Class_275(arg_0.prop_0); this.prop_3.vmethod_1815(arg_0.prop_0, class_.prop_4, array); foreach (Class_233 class_2 in this.gmethod_1823(arg_1.ToArray<Class_233>(), arg_0)) { this.prop_3.vmethod_1815(class_2.prop_0, ((Class_234)class_2).prop_4, array); } } byte[] byteDizi_ = (arg_0.prop_0 + arg_0.prop_0).ToBytes(); this.prop_1 = Class_223.smethod_1470(byteDizi_, byteDizi_0).ToBase64(); }