I'm making an app that has some functionality of windows explorer. Actually I have to make a copy/paste actions. My question is what does windows copy to clipboard, when I'm right-clicking the file and the choose 'Copy'?
Here's my Paste code:
var files = (string[])Clipboard.GetDataObject().GetData("FileName");
FileInfo info = new FileInfo(item);
info.CopyTo(Path.Combine(currentFolder, info.Name));