.net - Get and set clipboard contents regardless of format - C# -
in .net, possible clipboard contents regardless of format, hold them in memory , later restore them?
i tried clipboard.getdataobject()
seems impossible restore value without knowing format. ideally to:
var list = new list<object>(); ... list.add(clipboard.getdata()); ... later ... clipboard.setdata(list[x]);
it impossible because of 1 reason: don't know user put in clipboard during activity. way try format of data in cliboard using dataformats class
Comments
Post a Comment