public void SendLocalFilesList(RCS_FileList msg)
        {
            this.socketHandler.SendMessage(MessageCode.MC_FileList, Remote_Content_Show_MessageGenerator.GetMessageAsByte(msg));

            this.socketHandler.Close();
        }
        private void Admin_OnLocalFileListRequestReceived(ExternalAdmin sender)
        {
            List<FileItem> items = PersistenceManager.GetLocalFilesList().Select(x => new FileItem() { Name = x.Name }).ToList();
            RCS_FileList list = new RCS_FileList(items, RemoteType.Client);

            sender.SendLocalFilesList(list);
        }