This documentation is archived and is not being maintained.

HttpContext.Current Property

Gets the HttpContext object for the current HTTP request.

[Visual Basic]
Public Shared Property Current As HttpContext
public static HttpContext Current {get; set;}
public: __property static HttpContext* get_Current();
public: __property static void set_Current(HttpContext*);
public static function get Current() : HttpContext;
public static function set Current(HttpContext);

Property Value

The HttpContext object for the current request.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpContext Class | HttpContext Members | System.Web Namespace