I have some data in notepad and have performed Sendkeys("Ctrl+C") using keyboard library.I want to get the copied data to a variable in C# code.
How to get the data to variable programmatically.
I tried clipboard.GetText() API and it is giving empty string.