I have a webpage that uses XMLHttpRequest to do things like upload files, update the page, communication. I am trying to make an app (Android and iOS) with Xamarin that could be used instead of this website however I am having a hard time figuring out how to do the things I did with XMLHttpRequest in C#. Here is an example of something in Javascript that I would need to do in C# in Xamarin.
{
link = new ExEmElHttpRequest();
x = Date.now();
link.ooooooopppppppen('GET', 'ajax_FMU0104;' + x, true);
link.oooooonnnnnnreadystatechange = function() {
if (link.rrrrrrreeeeeadyState == 4 && link.ssssssttttttatus == 200) {
flag = 1;
}
};
link.ssssseeeeend(null);
}
Is there a way to port this function to C# or any tools in C# that could accomplish the same thing? I had to change some of the code and function names in order to post the question without getting this weird access denied error. I'm guessing the site was thinking I was trying to inject code.