title: Save any file type copied into the Clipboard
body: <p>I'm working with the code from this <a href="https://stackoverflow.com/questions/621577/clipboard-event-c-sharp">Stack article</a> (specifically the second answer) to monitor when the clipboard changes. The end goal for this application is that the user can copy any file type (whether it's a .xlsx, .pk3, .sln, etc), folder, an image or a string and have it automatically saved to their temp directory. I would set file size limits though so that the temp folder doesn't get overloaded. The overall concept of the application is to provide convenience, so users can recover data that was copied but then deleted or lost.</p>
  <p>So far, the above referenced code is working great for strings and images. However, after reviewing the items in the DataFormats list (i.e. usage: DataFormats.Bitmap), I can't find a catch-all for any file type, or for folders. I also can't find any way to determine what type of file was copied. Is there any way to determine that? For example, if there was a way to get the file extension of the file copied, that would help.</p>
  <p>Maybe my hopes are set too high. Even if I kept an array of allowed file types (.xlsx, .sln, etc) there would be no way I can think of to save that type of file. It seems I can't get bytes from a DataObject type, which would be the easy way out.</p>
  <p>Any ideas on how I could accomplish this? Thanks.</p>