I want to make a program to save some server IP addresses and use one of them whenever the user want to use it.
And the game does not support to the copy paste command.
How to move the cursor or simulate clicks for other applications?
see Pietu1998's answer about uiaccess
Right click on your project and do "Add-->New Item"
Choose Application Manifest File.
Change:
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
to:
<requestedExecutionLevel level="asInvoker" uiAccess="true" />