WindowsDeviceInfo
Inherits: DeviceInfo
Properties
-
build_lab
(str
) –Value of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLab
-
build_lab_ex
(str
) –Value of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLabEx
-
build_number
(int
) –The build number of the operating system.
-
computer_name
(str
) –The computer's fully-qualified DNS name, where available.
-
csd_version
(str
) –The service-pack version string.
-
device_id
(str
) –Displayed as "Device ID" in Windows Settings.
-
display_version
(str
) –Value of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DisplayVersion
-
edition_id
(str
) –Value of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionID
-
install_date
(datetime
) –Value of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate
-
major_version
(int
) –The major version number of the operating system.
-
minor_version
(int
) –The minor version number of the operating system.
-
number_of_cores
(int
) –Number of CPU cores on the local machine.
-
platform_id
(int
) –The operating system platform.
-
product_id
(str
) –Displayed as "Product ID" in Windows Settings.
-
product_name
(str
) –Value of
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName
-
product_type
(int
) –The product type.
-
registered_owner
(str
) –Value of the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOwner
-
release_id
(str
) –Value of the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId
-
reserved
(int
) –Reserved for future use.
-
service_pack_major
(int
) –The major version number of the latest service pack installed on the system.
-
service_pack_minor
(int
) –The minor version number of the latest service pack installed on the system.
-
suit_mask
(int
) –The product suites available on the system.
-
system_memory
(int
) –The physically installed memory in the computer, in megabytes.
-
user_name
(str
) –
Properties#
build_lab
#
build_lab: str
Value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLab
registry key.
For example: "22000.co_release.210604-1628"
.
build_lab_ex
#
build_lab_ex: str
Value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLabEx
registry key.
For example: "22000.1.amd64fre.co_release.210604-1628"
.
build_number
#
build_number: int
The build number of the operating system.
Examples:
22000
or greater for Windows 11.10240
or greater for Windows 10.
csd_version
#
csd_version: str
The service-pack version string.
This member contains a string, such as "Service Pack 3", which indicates the latest service pack installed on the system.
device_id
#
device_id: str
Displayed as "Device ID" in Windows Settings.
Value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQMClient\MachineId
registry key.
display_version
#
display_version: str
Value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DisplayVersion
registry key.
For example: "21H2"
.
edition_id
#
edition_id: str
Value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionID
registry key.
install_date
#
install_date: datetime
Value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate
registry key.
major_version
#
major_version: int
The major version number of the operating system.
For example, for Windows 2000, the major version number is 5
.
For more info, see the table in Remarks: https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ns-wdm-_osversioninfoexw#remarks
minor_version
#
minor_version: int
The minor version number of the operating system.
For example, for Windows 2000, the minor version number is 0
.
For more info, see the table in Remarks: https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ns-wdm-_osversioninfoexw#remarks
platform_id
#
platform_id: int
The operating system platform.
For Win32 on NT-based operating systems,
RtlGetVersion returns the value VER_PLATFORM_WIN32_NT
.
product_id
#
product_id: str
Displayed as "Product ID" in Windows Settings.
Value of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductId
registry key.
For example: "00000-00000-0000-AAAAA"
.
product_name
#
product_name: str
Value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName
registry key.
For example: "Windows 10 Home Single Language"
.
product_type
#
product_type: int
The product type.
This member contains additional information about the system.
registered_owner
#
registered_owner: str
Value of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOwner
registry key.
For example: "Microsoft Corporation"
.
release_id
#
release_id: str
Value of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId
registry key.
For example: "1903"
.
service_pack_major
#
service_pack_major: int
The major version number of the latest service pack installed on the system.
For example, for Service Pack 3, the major version number is three. If no service pack has been installed, the value is zero.
service_pack_minor
#
service_pack_minor: int
The minor version number of the latest service pack installed on the system.
For example, for Service Pack 3, the minor version number is zero.