Exemple #1
0
        private void btnOK_Click(object sender, EventArgs e)
        {
            string account  = this.tbxName.Text;
            string password = this.tbxPassword.Text;

            string imei       = "123456789012345";
            string deviceName = Dns.GetHostName();
            string deviceId   = SoftRegister.GetDiskVolumeSerialNumber() + SoftRegister.GetCpuSerialNumber() + SoftRegister.GetMacAddress();
            int    deviceType = 3;

            this.m_LoginController.Login(account, deviceType, imei, deviceName, deviceId, password);
        }
        public void GetMacAddressTest()
        {
            string s;

            s = SoftRegister.GetMacAddress();
        }