I've looped over the Request.ServerVariables collection in ASP.NET, but it's not as comprehensive as phpinfo().
Request.ServerVariables
phpinfo()
How can I print all that information, including server software, drivers, etc, for ASP.NET?