예제 #1
0
        public void SendLogin()
        {
            if (this.IsConnected)
            {
                LoginRequest login = new LoginRequest();

                login.DeviceNumber    = this.DeviceNumberHex;
                login.Key             = new byte[] { 0x00 };
                login.SoftwareVersion = new byte[] { 0x0C, 0x05, 0x10 };
                login.Foot            = login.BuildFoot();

                this.LocalSocket.BeginSend(login.BuildFull());
            }
        }