Exemplo n.º 1
0
        // 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);
        }
Exemplo n.º 2
0
        // Token: 0x060008E9 RID: 2281 RVA: 0x0003A708 File Offset: 0x00038908
        public Stream lmethod_1568(Uri arg_0, CancellationToken?arg_1 = null)
        {
            if (arg_0 == null)
            {
                throw new ArgumentNullException("uri");
            }
            this.gmethod_1583();
            string str_;

            byte[] byteDizi_;
            byte[] byteDizi_2;
            byte[] byteDizi_3;
            this.vmethod_1585(arg_0, out str_, out byteDizi_, out byteDizi_2, out byteDizi_3);
            Class_258 arg_2  = new Class_258(str_);
            Class_259 class_ = this.lmethod_1578 <Class_259>(arg_2, null);
            Stream    stream = new Class_248(new Class_245(this.field_3.vmethod_1545(new Uri(class_.prop_0))), class_.prop_1, byteDizi_3, byteDizi_, byteDizi_2);

            if (arg_1 != null)
            {
                stream = new Class_246(stream, arg_1.Value);
            }
            return(stream);
        }