//for wpf using System.Windows; Clipboard.GetText() //gets Text as string Clipboard.SetText("hello"); //sets Clipboard to "hello"