Ejemplo n.º 1
0
        private void FormDeviceInfo_Load(object sender, EventArgs e)
        {
            MobileDeviceInfo DeviceInfo = new MobileDeviceInfo();
            string DeviceInfoString = "Manufacturer:\t" + DeviceInfo.platformManufacturer + "\r\n";
            DeviceInfoString += "Model:\t\t" + DeviceInfo.deviceModel + "\r\n";
            DeviceInfoString += "Identification:\t" + DeviceInfo.serialNumber + "\r\n";
            DeviceInfoString += "Win CE Version:\t" + DeviceInfo.OSVersion + "\r\n";
            DeviceInfoString += "Platform Type:\t" + DeviceInfo.betterPlatformType + "\r\n";
            DeviceInfoString += "Owner Name:\t" + DeviceInfo.userName + "\r\n";
            DeviceInfoString += "Device Name:\t" + DeviceInfo.machineName + "\r\n";
            DeviceInfoString += "Device Description:\t" + DeviceInfo.machineDescription + "\r\n";

            textBoxDeviceInfo.Text = DeviceInfoString;
        }
Ejemplo n.º 2
0
        private void FormDeviceInfo_Load(object sender, EventArgs e)
        {
            MobileDeviceInfo DeviceInfo       = new MobileDeviceInfo();
            string           DeviceInfoString = "Manufacturer:\t" + DeviceInfo.platformManufacturer + "\r\n";

            DeviceInfoString += "Model:\t\t" + DeviceInfo.deviceModel + "\r\n";
            DeviceInfoString += "Identification:\t" + DeviceInfo.serialNumber + "\r\n";
            DeviceInfoString += "Win CE Version:\t" + DeviceInfo.OSVersion + "\r\n";
            DeviceInfoString += "Platform Type:\t" + DeviceInfo.betterPlatformType + "\r\n";
            DeviceInfoString += "Owner Name:\t" + DeviceInfo.userName + "\r\n";
            DeviceInfoString += "Device Name:\t" + DeviceInfo.machineName + "\r\n";
            DeviceInfoString += "Device Description:\t" + DeviceInfo.machineDescription + "\r\n";

            textBoxDeviceInfo.Text = DeviceInfoString;
        }