public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{
_ns = new NSNetService ("", "_bonjourdemoservice._tcp", UIDevice.CurrentDevice.Name, 9999);
_netDel = new NetDelegate (this);
_ns.Delegate = _netDel;
//BUG: monotouch 3.3.1 has TXTRecordData incorrectly bound to a bool. will be fixed in v.Next
//var dictionary = NSDictionary.FromObjectAndKey (new NSString("some message about the service..."), new NSString ("someKey"));
//var record = NSNetService.DataFromTxtRecord (dictionary);
//_ns.TxtRecordData = record;
_ns.Publish ();
window.MakeKeyAndVisible ();
return true;
}