Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# put string to clipboard

using System.Windows.Forms; //required

Clipboard.SetText("your string");

//FOR .NET CORE
Install-Package TextCopy

TextCopy.ClipboardService.SetText("Text to place in clipboard");
 
PREVIOUS NEXT
Tagged: #put #string #clipboard
ADD COMMENT
Topic
Name
3+4 =