Kann Software zwischen einem Desktop-Computer und einem Laptop unterscheiden?

Inhaltsverzeichnis:

Video: Kann Software zwischen einem Desktop-Computer und einem Laptop unterscheiden?

Video: Kann Software zwischen einem Desktop-Computer und einem Laptop unterscheiden?
Video: PHOTOSHOP für Anfänger Tutorial in Deutsch Teil 1 | Überblick, Ebenen, Tonwertkorrektur 2023, September
Kann Software zwischen einem Desktop-Computer und einem Laptop unterscheiden?
Kann Software zwischen einem Desktop-Computer und einem Laptop unterscheiden?
Anonim
Viele Softwarelizenzen sind ziemlich restriktiv, wenn es darum geht, wie und wo Sie ein Programm installieren können. Aber wie gut sind diese Programme bei der Bestimmung, auf welchem Gerätetyp sie installiert sind? Der heutige Q & A-Beitrag von SuperUser enthält die Antwort auf eine Frage des neugierigen Lesers.
Viele Softwarelizenzen sind ziemlich restriktiv, wenn es darum geht, wie und wo Sie ein Programm installieren können. Aber wie gut sind diese Programme bei der Bestimmung, auf welchem Gerätetyp sie installiert sind? Der heutige Q & A-Beitrag von SuperUser enthält die Antwort auf eine Frage des neugierigen Lesers.

Die heutige Question & Answer-Sitzung wird von SuperUser zur Verfügung gestellt - einer Unterteilung von Stack Exchange, einer Community-basierten Gruppierung von Q & A-Websites.

Foto mit freundlicher Genehmigung von Robert (Flickr).

Die Frage

SuperUser-Leser Abhi möchte wissen, ob Software tatsächlich zwischen einem Desktop-Computer und einem Laptop unterscheiden kann:

A license for CPU-intensive software like Pix4D says that it can be installed on two devices, but with one condition. Reading the fine print, it seems that one device can be a full-processing desktop/workstation whereas the second one must be a laptop or mobile device.

How would the software know what type of device it is installed on? Are there giveaways in the hardware specifications for determining something like this (i.e. the presence of a battery)?

Given that the software is fully functional on both devices, would this condition become irrelevant if I just buy a high-end laptop which is just as fast as the desktop?

Kann Software tatsächlich zwischen einem Desktop-Computer und einem Laptop unterscheiden?

Die Antwort

SuperUser-Mitwirkende abnev und Technik Empire haben die Antwort für uns. Zunächst einmal, abnev:

On Linux, you can run the following command:

  • sudo dmidecode –string chassis-type

On a laptop, this will return laptop, notebook, portable, or sub-notebook (depending on the manufacturer).

For Windows, refer to the following TechNet documentation to determine your computer chassis type: Identifying the Chassis Type of a Computer

Gefolgt von der Antwort von Technik Empire:

To add to the other answer here regarding Linux, Windows software can also access this information through various provided WinAPI methods/objects. One such example is Win32_ComputerSystem, which among others, has members like:

Possible values include:
Possible values include:
As for how Windows knows this, while I cannot say with certainty because I presently lack both the Windows source code and any official documentation links, I would say it is a simple matter of the hardware ID’s within the computer giving this information away to the operating system.
As for how Windows knows this, while I cannot say with certainty because I presently lack both the Windows source code and any official documentation links, I would say it is a simple matter of the hardware ID’s within the computer giving this information away to the operating system.

Since Windows has a massive partner network that submits their drivers directly to Microsoft (for driver updates via Windows Update and “standard” drivers to include with installation media), it is pretty easy for Windows to figure out precisely what kind of computer you have it installed on. Just by the CPU ID alone, you could determine whether it is a desktop computer or a laptop.

Haben Sie etwas zur Erklärung hinzuzufügen? Ton aus in den Kommentaren. Möchten Sie mehr Antworten von anderen technisch versierten Stack Exchange-Benutzern lesen? Hier geht es zum vollständigen Diskussionsthread.

Empfohlen: