How do I copy the contents of a String to the clipboard in C#?
System.Windows.Forms.Clipboard.SetText
(Windows Forms) or System.Windows.Clipboard.SetText
(WPF)
You can use System.Windows.Forms.Clipboard.SetText(...)
.
System.Windows.Forms.Clipboard.SetText
(Windows Forms) or System.Windows.Clipboard.SetText
(WPF)
You can use System.Windows.Forms.Clipboard.SetText(...)
.