gonzalop/Mono.Dns — comment on commit 0d8f8ce3f129c6dc926bf19d398d8460bc1877c5
File: README line 30
By alanmcgovern:

SimpleResolver r = new SimpleResolver ();
SimpleResolverEventArgs e = new SimpleResolverEventArgs { HostName = s };
e.Completed += (o, e) => Console.WriteLine ("Resolved to: {0}", e.HostEntry);

if (!r.GetHostEntryAsync (e)) // Resolved synchronously
OMG WHAT DO I WRITE HERE!??!

Console.ReadLine ();