So, Google used to have a nice page where they gave code sample on how to implement a GCM Xmpp server on this page:
<https://developers.google.com/cloud-messaging/ccs>

I had bookmarked this answer anytime I wanted to view the implementation
[Confused about Google GCM XMPP](https://stackoverflow.com/questions/24863303/confused-about-google-gcm-xmpp/24864958#24864958)

But everything linked from in that answer is gone. Google deleted them.

But now, they have removed everything, and added a page that just explains what it does. Sure, but the sample java code would be nice. I tried to go to the sample site on github that they link to
<https://github.com/google/gcm>

but it only provides samples of HTTP GCM server version. 

Can somebody point me to a working code sample please? Or Is there a library out there that would work with c# at all? if not, I would just settle with the java version too. 

Thanks.