Last active
August 27, 2021 07:14
-
-
Save MartinZikmund/4f1daef22d2d9489508b14f7051af4ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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