I want to get id from ResponseUri.
I have the following URL
http://site5.way2sms.com/Main.action;jsessionid=77C20044847CD2C97BA89217A4D040A8.w803?id=77C20044847CD2C97BA89217A4D040A8.w803
I want to get the id from the line above. How can i do this?
string iduri = System.Web.HttpUtility.ParseQueryString(res.ResponseUri.Query).Get("id");
use this
Uri uUri = new Uri("http://site5.way2sms.com/Main.action;jsessionid=77C20044847CD2C97BA89217A4D040A8.w803?id=77C20044847CD2C97BA89217A4D040A8.w803"); string strId = System.Web.HttpUtility.ParseQueryString(uUri.Query).Get("id");
Source: https://habr.com/ru/post/1433118/More articles:How to compare items between two unordered ListBox - c #When using registerNib: forCellReuseIdentifier, how do I set the UITableViewCell iVars? - iphoneThreadPool using ASIO - exit thread, task failed - c ++Mysql LOAD DATA INFILE update - mysqlIs it safe to open an alias with xdg-open - command-lineEmail CSV SQLite DB on iOS - iosClosing a parent without closing a child - c #How to set standard visibility of the main Winform - c #git push does not update files on the remote server - gitAndroid: Draw an image in the center of another image - androidAll Articles