System.Windows.Forms.SendKeys

Provides methods for sending keystrokes to an application