Sending data to GCM Android application over .NET

view full story

http://stackoverflow.com – Im sending data from my .NET application to GCM trough a POST. 1st my android device gets an Id, which it POST to my ASP.NET application. then i have a simple button on my website "Send a message" , this posts data to GCM in a JSON format. Private Function SendNotification(ByVal JSonData As String) As String ServicePointManager.ServerCertificateValidationCallback = Function(sender As Object, certificate As X509Certificate, chain As X509Chain, sslPolicyErrors As SslPolicyErrors) True '/// Creating POST. Dim request As WebRequest = WebRequest.Create("https://android.go (HowTos)