Ok, so iisapp.vbs will give you the ProcessID of your App Pool, but I wanted to get it in code.
For future pensieve moments, here's how:
int processID = System.Diagnostics.Process.GetCurrentProcess().Id
posted by Oskar Austegard at 4/20/2007 04:29:00 PM
Post a Comment
Tediously repetitious or lacking in variety, since August 2003.