Executing code that references c:\windows\system32\hnetcfg.dll to manage the Windows Firewall from this question, causes a BadImageFormatException as soon as the DLL is loaded.
Opening the 414KB DLL file in NUnit for inspection throws the same exception.
I am running Windows 7. Any solutions?