private void GetLiveNotificationSettings()
{
// execute the command
var command = new GetMobileServiceSettingsCommand(MobileServiceName, Constants.MobileServicesLiveSettings)
{
SubscriptionId = SubscriptionId,
Certificate = ManagementCertificate
};
command.Execute();
// get all the mobile providers returned
var windows = (WindowsAuthProvider)JsonConvert.DeserializeObject(command.JsonResult, typeof(WindowsAuthProvider));
MicrosoftAccountClientId = windows.ClientId;
MicrosoftAccountClientSecret = windows.ClientSecret;
MicrosoftAccountPackageSID = windows.PackageSid;
}