I get response from an api when i use it to send the sms using http request now i get some reponse when i send the sms . I need to parse "MessageID" from the reponse .
I am using following code to read the response
HttpWebResponse webresponse = (HttpWebResponse)myReq.GetResponse();
Encoding enc = System.Text.Encoding.GetEncoding(1252);
StreamReader loResponseStream = new
StreamReader(webresponse.GetResponseStream(), enc);
string Response = loResponseStream.ReadToEnd();
What i recieve in string Response is following
<rsp stat=\"ok\">\n<success msg=\"accepted\" transactionid=\"fe417b1b3dd5f68cc99c5df182fe606a\" messageid=\"332b21a2813900a7b81af1635aa1a8d5\"/>\n</rsp>
How can parse value of transactionid and message id from this response . Please let me know . Thank You