How do I copy the contents of a String to the clipboard in C#? [duplicate]

You can use System.Windows.Forms.Clipboard.SetText(...).

Leave a Comment