C#中的谷歌云消息服务器端代码
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11543527/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Google Cloud Messaging Server Side Code in C#
提问by Amey Bhatkar
I want to write implement 3rd party server for GCM (Google Cloud Messaging) for android using .Net. The official documentation gives guidelines for using it with servlet-api and gcm-server.jar ( Java helper for server side ).
我想使用 .Net 为 android 的 GCM(谷歌云消息传递)编写实现 3rd 方服务器。官方文档给出了将它与 servlet-api 和 gcm-server.jar(服务器端的 Java 助手)一起使用的指南。
Is there any equivalent for using it in C#?
在 C# 中使用它有什么等价物吗?
回答by Ani
回答by Robin Minto
The Google Cloud Messaging Client Library has been ported to C#: https://github.com/Redth/GCMSharp
Google Cloud Messaging 客户端库已移植到 C#:https: //github.com/Redth/GCMSharp
The same developer has produced a library for sending server-side push notifications to iOS, Android, Windows Phone, and Blackberry: https://github.com/Redth/PushSharp
同一位开发人员制作了一个用于向 iOS、Android、Windows Phone 和 Blackberry 发送服务器端推送通知的库:https: //github.com/Redth/PushSharp

