No. I am in the Microsoft Office group, and some people actually have related needs. Later, we exchanged opinions with Windows, and they said that they do not want a program to know what type of device it is running on (referring to UWP programs). But generally speaking, there is a very simple, basically accurate but incorrect method:
Just ask if there is a GPS device. Check the API yourself.
You can use WMI to find the chassis type, although it may not be quite right... And in my impression, this type is enum. The number that comes out has to be checked to see what kind of table it is, what is 1 and what is 6? WMI also You can find out the manufacturer and model from BIOS, computer system, etc., and then you can check the database...
No. I am in the Microsoft Office group, and some people actually have related needs. Later, we exchanged opinions with Windows, and they said that they do not want a program to know what type of device it is running on (referring to UWP programs). But generally speaking, there is a very simple, basically accurate but incorrect method:
Just ask if there is a GPS device. Check the API yourself.
You can use WMI to find the chassis type, although it may not be quite right... And in my impression, this type is enum. The number that comes out has to be checked to see what kind of table it is, what is 1 and what is 6?
WMI also You can find out the manufacturer and model from BIOS, computer system, etc., and then you can check the database...
It seems not, the desktop and tablet are both Windows.Desktop, and some weird Win10m tablets are Windows.Mobile