I searched pretty much everywhere on google, but I didn’t find anything useable. I want to know how to get the current cache and save it on a string. This string will get processed and afterwards replace the current cache.
I am talking about our ordinary copy cache (CTRL + C) on Windows.
Use the System.Windows.Forms.Clipboard.GetText()
http://msdn.microsoft.com/en-us/library/kz40084e.aspx
Example from MSDN: