How do I copy the contents of a String to the clipboard in C#? [duplicate] October 1, 2022 by Tarik You can use System.Windows.Forms.Clipboard.SetText(...).