Beispiel #1
0
        public void PlayStream()
        {
            string mount_point = System.IO.Path.Combine(GClass88.DirectoryCache, "streaming", System.IO.Path.GetRandomFileName());

            System.IO.Directory.CreateDirectory(mount_point);
            Class17 fs = new Class17(this.CurrentGamePath, this.gclass30_0);

            Task.Run((Action)(() => fs.Mount(mount_point, DokanOptions.WriteProtection, 1, (ILogger)null)));
            Thread.Sleep(3000);
            this._overriddenGamePath = mount_point;
            this.InternaPrelPlay();
            this.Event_0 += (EventHandler)((sender, e) =>
            {
                fs.method_1();
                Dokan.RemoveMountPoint(mount_point);
            });
            this.method_8(this.GetArguments());
        }