Created
May 16, 2015 16:30
-
-
Save Budincsevity/ee2d3456ef7aed7f62f3 to your computer and use it in GitHub Desktop.
Send platform independent messages
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 hubClient = | |
NotificationHubClient.CreateClientFromConnectionString("<connection string>", "<hub name>"); | |
var expressions = new Dictionary<string, string>(); | |
expressions.Add("message", "Hello"); | |
//Send platform independent message to all devices | |
hubClient.SendTemplateNotificationAsync(expressions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment