Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using Foundation;
using UIKit;
namespace DebuggerIssue {
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
public override UIWindow Window
{
get;
set;
}
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
{
UIDevice.CurrentDevice.BeginInvokeOnMainThread (async () => {
var client = new System.Net.Http.HttpClient ();
var result = await client.GetStringAsync ("http://xamarin.com");
});
return true;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment