string url = "http://localhost/test.html?code=123"; var qry = System.Web.HttpUtility.ParseQueryString(new Uri(url).Query); string code = qry["code"];
192300cookie-checkC# parse query string
string url = "http://localhost/test.html?code=123"; var qry = System.Web.HttpUtility.ParseQueryString(new Uri(url).Query); string code = qry["code"];