Мой буфер обмена заполнен текстом, но когда я запускаю
string clipboardData = Clipboard.GetText(System.Windows.Forms.TextDataFormat.Text);
Я возвращаю пустую строку. Я играл с различными формами вызова, включая:
string clipboardData = Clipboard.GetText();
string clipboardData = Clipboard.GetText(System.Windows.Forms.TextDataFormat.UnicodeText);
Но с тем же результатом.
Я пропустил что-то очевидное?