Using this
System.Uri host = SessionContext::Get_Current().Get_RequestUrl();
I get the full url such as enviromentname.com/?mi=SysClassRunner&prt=initial&debug=vs&cls=myclass&activityid=0eb3ea5c-bb0b-0002-bf0a-b40e0bbbd401&cmp=mycompany
Is there any way i can just get "enviromentname.com"