Beispiel #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ServiceChannel srvChannel = new ServiceChannel();
            MSG            msg        = srvChannel.RegisterClient();

            if (msg.Code == CODES.SUCCESS)
            {
                srvChannel.Subscribe(MSGTYPE.WATCHONLINE, HandleBroadcast);
            }
        }