Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var badgeXml = BadgeUpdateManager.GetTemplateContent(BadgeTemplateType.BadgeNumber);
XmlElement badgeElement = badgeXml.SelectSingleNode("/badge") as XmlElement;
badgeElement.SetAttribute("value", BadgeTextBox.Text);
var badgeNotification = new BadgeNotification(badgeXml);
BadgeUpdateManager.CreateBadgeUpdaterForApplication().Update(badgeNotification);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment