Reputation: 4142
I want to monitor the windows system tray for icon text changes.
How can I do this in .Net preferably in C#?
Upvotes: 2
Views: 1251
Reputation: 564731
This is possible using FindWindow with "Shell_TrayWnd" and SendData in the Windows API.
To do this in C#, you'll need to P/Invoke into the Windows API. Here is set of a C++ sample code you can use to port.
Upvotes: 1