They already did with C#.

  string text = Clipboard.GetText();