Comment puis-je utiliser le XML retourné par le lecteur dans un xmltextreader ?
' Create the web request
request = DirectCast(WebRequest.Create("https://mobilevikings.com/api/1.0/rest/mobilevikings/sim_balance.xml"), HttpWebRequest)
' Add authentication to request
request.Credentials = New NetworkCredential("username", "password")
' Get response
response = DirectCast(request.GetResponse(), HttpWebResponse)
' Get the response stream into a reader
reader = New StreamReader(response.GetResponseStream())
Merci d'avance,
Nathan.