public void SetFiles(IEnumerable <string> paths, ClipboardFilesState filesState)
        {
            Clear();

            FilesState = filesState;

            var collection = new StringCollection();

            foreach (var t in paths)
            {
                collection.Add(t);
            }

            System.Windows.Clipboard.SetFileDropList(collection);

            ClipboardContentChanged?.Invoke(this, EventArgs.Empty);
        }
 public void Clear()
 {
     FilesState = ClipboardFilesState.NoFiles;
     Thread.CurrentThread.TrySetApartmentState(ApartmentState.STA);
     System.Windows.Clipboard.Clear();
 }