Exemplo n.º 1
0
        public static void Disconnect(string uri)
        {
            PushClient client = new PushClient();

            try
            {
                client.DisconnectAsync(uri);

                client.CloseAsync();
            }
            catch (Exception e)
            {
                client.Abort();
            }
            finally
            {
                client.CloseAsync();
            }
        }