'How do I make (in C#) a basic .NET application change mouse position on screen, press keys ect

I was wondering, how do I make something like "Program messes with my gameplay" in C#. I just want a program to move with mouse, click, press some keys, you get the idea. I there any library that will help me or something?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source