In .NET, is it possible to get the clipboard contents regardless of format, hold them in memory and then later restore them?
I tried Clipboard.GetDataObject()
but it seems impossible to restore this value without knowing the format. I would ideally like to:
var list = new List<object>();
...
list.Add(Clipboard.GetData());
... later ...
Clipboard.SetData(list[x]);