c# grab entire URL code example Example: c# get full URL of page string absoluteurl = System.Web.HttpContext.Current.Request.Url.AbsoluteUri;