using System.Windows.Forms; //required Clipboard.SetText("your string"); //FOR .NET CORE Install-Package TextCopy TextCopy.ClipboardService.SetText("Text to place in clipboard");
Clipboard.SetText("Epic Text");