I want to get a list of all data from the clipboard history but I can't find an enumerator method. Would there be something I'm missing or what other way can I do it? I can't find an enumerator method in the clipboard class.
var clip = Clipboard.GetDataObject();
foreach (var item in clip)
{
MessageBox.Show(item);
}