public void GetDeviceInfo() { if (this.atm.GetPort(PortNum) != null) { this.DeviceName = Port.DeviceName(); this.Mode = Port.PhoneMode(); this.BuildId = this.port_mode[Port.BuildId()]; } }