简体   繁体   中英

Azure Notification Hub example to register a device and receive a notification

I am looking for a Azure Notification Hub example - to register a device (get the token) - and receive a notification (by the token form the register process)

Do any one have a practical example in C# or node.js? where it is posible to configure the hubName and accessSignature to get it work

I have configured my azure notification hub with a google fcm

You can go through the following documentation to understand Registration management

var hub = NotificationHubClient.CreateClientFromConnectionString("{connectionString}", "hubName");

// create a registration description object of the correct type, e.g.
var reg = new WindowsRegistrationDescription(channelUri, tags);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM