Attempts to restart the active Web Application
public static bool RestartWebApplication();
Requires either Full Trust (HttpRuntime.UnloadAppDomain) or or Write access to web.config otherwise the operation will fail and return false.
See also:
Class WebUtils