Get Query from URL and then get Parameter as required .
string URLT = "localhost:2081/page.aspx?CaseID=662BB71D-CFF9-E711-90CD-00155DD3F14C";
Uri uri = new Uri(URLT);
var query = HttpUtility.ParseQueryString(uri.Query);
var param1 = query.Get("CaseID");
Guid CaseGUID = new Guid(param1);
SOURCE : mscrm.com