My clipboard is populated with text, but when I run
string clipboardData = Clipboard.GetText(System.Windows.Forms.TextDataFormat.Text);
I get back an empty string. I've toyed with various forms of the call including:
string clipboardData = Clipboard.GetText();
string clipboardData = Clipboard.GetText(System.Windows.Forms.TextDataFormat.UnicodeText);
But with the same result.
Am I missing something obvious?