A small C# Library for Monitoring Clipboard with P/Invokes (e.g.: Clipboard Content Changed event)
Add the .dll
to your .NET Project's References
Tree in the Solution View.
Side note: ClipboardMonitor has to create a Window in order to get hwnd to process WndProc messages in WPF. I've made the Window so that it is not visible but keep in mind that there is a WPF Window created once in the background.
Attach (C#):
var cm = new ClipboardMonitor();
cm.ClipboardData += (ClipboardDataEventArgs args) => {
MessageBox.Show($"Clipboard Changed! {args.Data.ToString()}");
};