views:

54

answers:

3

How can you access clipboard content using the .NET framework?

+1  A: 

Access to the clipboard in .NET is available through the

System.Windows.Forms.Clipboard

class.

McKay
+2  A: 

Check Clipboard class and SetText \ GetText methods.

See also this tutorial: Clipboard Copy and Paste with C#

ventr1s
+1  A: 

You can use the Clipboard class. Documentation and demos here:

http://msdn.microsoft.com/en-us/library/system.windows.forms.clipboard.aspx

jwsample