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
(Thanks, Peter)
del.icio.us tags:
csharp,
iis,
asp.net,
howto
0 Comments:
Post a Comment
<< Home