Would checking the current process name do the trick?
bool isExpress =
String.Compare(Process.GetCurrentProcess().ProcessName,"iisexpress") == 0;
Normal IIS runs under w3wp.exe from memory.
Would checking the current process name do the trick?
bool isExpress =
String.Compare(Process.GetCurrentProcess().ProcessName,"iisexpress") == 0;
Normal IIS runs under w3wp.exe from memory.