Пример #1
0
        void MessageSocket_Connected(object sender, EventArgs e)
        {
            int?terminalNumber = NetworkTools.GetLastLanByte();

            if (terminalNumber != null)
            {
                BroadcastClientSocket.SendMessage("AppStarted " + terminalNumber.Value);
            }
            else
            {
                BroadcastClientSocket.SendMessage("AppStarted");
            }
        }