/wfSpy

wfSpy - The Windows Forms Spy Utility

Primary LanguageC#

wfSpy

wfSpy is the open source Windows Forms spying utility created way back in 2003 by Rama Krishna Vavilala. Here is the original CodeProject article.

It allows you to spy/browse the window hierarchy of a running Windows Forms application (without the need for a debugger) … and to change properties as well.

I work for Starkey Laboratories, and in my work there, we modified and enhanced wfSpy (and continue to do so) for our purposes. I have an article at my blog which goes into the few, but nice, features that we added.

.NET 1.1, 2.0, 4.0 Versions

I have checked in (and tagged) three different versions ... each corresponding to the version of .NET CLR that it works with. That is, if you have a .NET 1.1 application that hasn't been converted to a more recent version of the .NET Framework ... you will need to get and build that version of the utility.

The master branch currently is the .NET 4.0 version of the utility ... i.e. the latest released version of the framework as of this writing. I speculate that wfSpy will need to be modified yet again when .NET 4.5 releases since there is a new version of the CLR coming with .NET 4.5.

x86 or x64

Can spy on eiter x86 or x64, but only as compiled i.e.: there are currently no support for using the 64-bit version to spy on 32-bit windows. It shouldn't be too hard, though. If you do get it to work, please contribute those changes back to this project.