HttpRuntime

HttpRuntime

System.Web (system.web.dll)sealed class

The HttpRuntime class provides ASP.NET runtime services and is used transparently by the ASP.NET framework. In some rare cases, you may want to use it. For example, you can use the ProcessRequest( ) static (shared) method to process an ASP.NET request outside of Internet Information Server and Close( ) to clear the cache and shut down the Common Language Runtime.

public sealed class HttpRuntime {
// Public Constructors
   public HttpRuntime( );
// Public Static Properties
   public static string AppDomainAppId{get; }
   public static string AppDomainAppPath{get; }
   public static string AppDomainAppVirtualPath{get; }
   public static string AppDomainId{get; }
   public static string AspInstallDirectory{get; }
   public static string BinDirectory{get; }
   public static Cache Cache{get; }
   public static string ClrInstallDirectory{get; }
   public static string CodegenDir{get; }
   public static bool IsOnUNCShare{get; }
   public static string MachineConfigurationDirectory{get; }
// Public Static Methods
   public static void Close( );
   public static void ProcessRequest(HttpWorkerRequest wr);
   public static void UnloadAppDomain( );
}


    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace