Is there a way to find the source application from which the data was copied to the clipboard - Windows Forms

I am using a Clipboard object for playback with data copied to the clipboard. Suppose I have few applications from which I can copy data to the clipboard, for example, excel, notepad, etc.

I want to know if there is any function or is there any way to find out where the data was captured in the clipboard example from, it comes from excel or notepad or from some unknown solution.

I am using C # and .Net 2.0

+3
source share
2 answers

SetClipboardViewer api, , - WM_DRAWCLIPBOARD, GetClipboardOwner, , . , .

+6

Source: https://habr.com/ru/post/1721473/


All Articles