I am working on a Xamarin Android App, in which I need to call a web service with URL as given below:
The problem is I need to pass Un-encoded URL with Pipes (|) otherwise service will stop working. When I use:
Uri ourUri = new Uri(url, true);
The WebClient freezes without any response (seems a bug in Mono), where as similar code works in C# Form Application and If I remove TRUE from options then it encodes URL with %7C which server doesn't understand.
Please help to solve this problem or any alternate?
*I also used HttpWebRequest but that has similar problem.