예제 #1
0
        public NetworkAccessServer(WebSocket socket, ulong key = 0)
        {
            Key    = key;
            Socket = socket;

            ChainedFileSystem FileSystem = new ChainedFileSystem();

            IFileChain[] chains = new IFileChain[] {
                new LocalDiskAccessFileChain(new LocalDiskAccessFileChain.LocalDiskAccessFileChain_Options()
                {
                    RootPath = @"E:\\Testing"
                }, FileSystem)
            };
            FileSystem.SetupFileChain(chains);
            this.FileSystem = FileSystem;
        }