HttpWebRequest request = WebRequest.Create("https://www.google.com/accounts/o8/id") as HttpWebRequest;
request .Accept = "application/xrds+xml";
HttpWebResponse response = (HttpWebResponse)request .GetResponse();
returns xrds document.
how to read that document.
Depends what you’re trying to do – if you just need to read what comes back, then you could load the document into an XmlDocument and examine it programmatically e.g.