After POST/GET request I get such URL back which I need to parse, of course I can go and use spit() to get required information, but for sure should be more elegant way of d
Use Uri + ParseQueryString functions:
Uri myUri = new Uri("http://api.vkontakte.ru/blank.html#access_token=8860213c0a392ba0971fb35bdfb0z605d459a9dcf9d2208ab60e714c3367681c6d091aa12a3fdd31a4872&expires_in=86400&user_id=34558123");
String access_token = HttpUtility.ParseQueryString(myUri.Query).Get("access_token");
String expires_in = HttpUtility.ParseQueryString(myUri.Query).Get("expires_in");
This will also do the trick
String access_token = HttpUtility.ParseQueryString(myUri.Query).Get(0);
Source: https://msdn.microsoft.com/en-us/library/ms150046.aspx
Tip: You might need
using System.Web;
And add a reference to System.Web