SPContext.Current property
SharePoint 2013
Gets the context of the current HTTP request in Microsoft SharePoint Foundation.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Gets the context of the current HTTP request in Microsoft SharePoint Foundation.