if (formats.Contains(System.Windows.Forms.DataFormats.Dib))
{
using (var img = System.Windows.Forms.Clipboard.GetImage())
{
string fileName = Guid.NewGuid().ToString("N") + ".png";
img.Save(fileName);
}
}