using System;
using System.Windows.Forms;
using System.IO;
using System.Collections.Generic;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
BFS.Clipboard.Copy();
List<string> files = new List<string>();
foreach (string file in Clipboard.GetFileDropList())
{
files.Add(file);
}
if (files != null || files.Count != 0)
{
string pathToClipboard = String.Empty;
foreach (var item in files)
{
pathToClipboard += Path.GetFullPath(item) + Environment.NewLine;
}
Clipboard.SetText(pathToClipboard.Trim());
}
}
}