Si uso Xamarin.
protected override void OnCreate(Bundle savedInstanceState)
{
base.OnCreate(savedInstanceState);
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
// Set our view from the "main" layout resource
SetContentView(Resource.Layout.activity_main);
var client = new HttpClient();
client.BaseAddress = new Uri("
http://192.168.1.6:54427/api");
var responseTask = client.GetStringAsync("Dip");
responseTask.Wait();
var result = responseTask.Result;
TextView test = (TextView)FindViewById(Resource.Id.textView1);
test.Text = result;
}