軟體能區分臺式電腦和膝上型電腦嗎?

在安裝程式的方式和位置上,許多軟體許可證都有相當嚴格的限制,但是這些程式在確定安裝在哪種型別的裝置上有多好呢?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

軟體能區分臺式電腦和膝上型電腦嗎?

在安裝程式的方式和位置上,許多軟體許可證都有相當嚴格的限制,但是這些程式在確定安裝在哪種型別的裝置上有多好呢?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

照片由羅伯特(Flickr)提供。

問題

超級使用者讀者Abhi想知道軟體是否真的能區分臺式電腦和膝上型電腦:

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 specificati*** 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?

軟體真的能區分臺式電腦和膝上型電腦嗎?

答案

超級使用者貢獻者abnev和Technik Empire為我們提供了答案。首先,阿布涅夫:

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

然後是Technik帝國的答案:

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:

007Ys3FFgy1gpdx0t0bcvj30hd04nt8q

Possible values include:

007Ys3FFgy1gpdx0twd1hj30hd06awek

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.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-09 23:35
  • 閱讀 ( 43 )
  • 分類:網際網路

你可能感興趣的文章

chromebook公司(chromebook)和膝上型電腦(laptop)的區別

...,Chromebook還具有安全功能,這將消除購買和維護防病毒軟體的需要。此外,據稱Chromebook一次充電就可以使用一天。總的來說,它提供了大量的網路應用,包括遊戲、電子表格和照片編輯器。 什麼是膝上型電腦(laptop)? 膝上型電...

  • 發佈於 2020-10-24 05:57
  • 閲讀 ( 44 )

膝上型電腦(laptop)和筆記本(notebook)的區別

...機,或者是一種可以很容易用手攜帶的個人電腦。它具有臺式電腦的大部分功能和功能。它還容納了一個功能齊全的大鍵盤。 在傳統的設計中,主要目的是移動性。因此,膝上型電腦是超輕超薄的,尺寸通常接近A4大小的筆記本...

  • 發佈於 2020-10-26 14:10
  • 閲讀 ( 27 )

7個地方你可以線上購買一臺專用的linux pc或膝上型電腦

...能夠讓人們體驗到這些新發行版和DEs的所有榮耀。需求和軟體肯定是有的——我們只需要確保他們有合適的膝上型電腦和桌上型電腦享受它們!” ...

  • 發佈於 2021-03-12 14:15
  • 閲讀 ( 52 )

13個常見電腦和膝上型電腦問題的diy修復

...了所有這些東西,還有一個共同的問題,許多人忽視了。臺式電腦的電源線——將電腦的電源裝置(PSU)連線到主電源——可能會發生故障。可能是你的電纜彎曲了,導致內部的一根電線斷了。如果你在英國,可能是保險絲燒斷...

  • 發佈於 2021-03-12 15:07
  • 閲讀 ( 56 )

使用android作為桌面作業系統的三種方法

...得在實時模式下或作為虛擬機器(使用您首選的虛擬機器軟體)嘗試Android-x86。安裝可能會很慢,而且您會注意到Android-x86似乎是為觸控式螢幕裝置而不是標準桌上型電腦設計的。與這裡的其他示例不同,這裡沒有等效的開始選...

  • 發佈於 2021-03-13 09:22
  • 閲讀 ( 44 )

5款終極遊戲筆記本

...著的戲還要熱。剃鬚刀還生產刀片專業提供了一個行動式軟體包桌上型電腦更換。最終,刀片是一個美麗的,超便攜的遊戲筆記本,不犧牲其便攜效能。 ...

  • 發佈於 2021-03-14 17:12
  • 閲讀 ( 62 )

你能買到的8臺最好的linux臺式電腦和膝上型電腦

...乎沒有品牌。純粹主義計算機附帶PureOS,這是一個由自由軟體基金會認可的Linux發行版。 ...

  • 發佈於 2021-03-18 15:31
  • 閲讀 ( 59 )

如何將windows膝上型電腦轉變成臺式電腦

無論你走到哪裡,從國家的另一邊到沙發的另一邊,膝上型電腦都能提供PC的能量。但有時你需要一個大螢幕的桌面,一個大鍵盤和一個結實的滑鼠。下面是如何把你的膝上型電腦變成一個偽桌面。 任何膝上型電腦都可以變成...

  • 發佈於 2021-03-31 19:57
  • 閲讀 ( 44 )

你應該自己造電腦嗎?

...位的可用性的上升,大多數人都在購買膝上型電腦而不是臺式電腦。而且,如果你要買一臺膝上型電腦,你真的不能自己造。你不能只買一個膝上型電腦外殼,然後開始往裡面插元件——即使可以,你最終也會得到一個非常笨重...

  • 發佈於 2021-04-09 03:54
  • 閲讀 ( 67 )

如何在windows中使用鍵盤快捷鍵開啟光碟機

...體。它可能在大多數膝上型電腦上都不起作用,但可能在臺式電腦上工作,在那裡,第二次按下按鈕就可以關上門。我在臺式電腦和膝上型電腦上測試了門控制,它開啟和關閉了臺式電腦上的光碟機,但只打開了膝上型電腦上的...

  • 發佈於 2021-04-09 16:02
  • 閲讀 ( 38 )
zmrsp6548
zmrsp6548

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦