Hi,
var cs = SBConnectionString.CreateListenAccess(new NSUrl("sb://yourservicebus-ns.servicebus.windows.net/"),
"YOUR-KEY");
// Register our info with Azure
var hub = new SBNotificationHub (cs, "your-hub-name");
hub.RegisterNativeAsync (deviceToken, null, err => {
if (err != null)
Console.WriteLine("Error: " + err.Description);
else
Console.WriteLine("Success");
});
I used these command to register my ios device with Azure hub. But it throwing an error that
unauthorized code.
Azure hub portal working fine android device using azure key , fullsharedaccess listener..
How can solve this ....