WindowsDeviceInfo
Device information snapshot for Windows systems.
Returned by flet.Page.get_device_info on Windows.
Inherits: DeviceInfo
Properties
build_lab- Value ofHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLabregistry key.build_lab_ex- Value ofHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLabExregistry key.build_number- The build number of the operating system.computer_name- The computer's fully-qualified DNS name, where available.csd_version- The service-pack version string.device_id- Displayed as "Device ID" in Windows Settings.display_version- Value ofHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DisplayVersionregistry key.edition_id- Value ofHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionIDregistry key.install_date- Value ofHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDateregistry key.major_version- The major version number of the operating system.minor_version- The minor version number of the operating system.number_of_cores- Number of CPU cores on the local machine.platform_id- The operating system platform.product_id- Displayed as "Product ID" in Windows Settings.product_name- Value ofHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductNameregistry key.product_type- The product type.registered_owner- Value of theHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOwnerregistry key.release_id- Value of theHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseIdregistry key.reserved- Reserved for future use.service_pack_major- The major version number of the latest service pack installed on the system.service_pack_minor- The minor version number of the latest service pack installed on the system.suit_mask- The product suites available on the system.system_memory- The physically installed memory in the computer, in megabytes.user_name
Properties
build_labinstance-attribute
build_lab: strValue of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLab registry key.
For example: "22000.co_release.210604-1628".
build_lab_exinstance-attribute
build_lab_ex: strValue of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\BuildLabEx registry key.
For example: "22000.1.amd64free.co_release.210604-1628".
computer_nameinstance-attribute
computer_name: strThe computer's fully-qualified DNS name, where available.
csd_versioninstance-attribute
csd_version: strThe 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_idinstance-attribute
device_id: strDisplayed as "Device ID" in Windows Settings.
Value of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQMClient\MachineId
registry key.
display_versioninstance-attribute
display_version: strValue of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DisplayVersion registry key.
For example: "21H2".
edition_idinstance-attribute
edition_id: strValue of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionID registry key.
install_dateinstance-attribute
install_date: datetimeValue of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate registry key.
major_versioninstance-attribute
major_version: intThe 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_versioninstance-attribute
minor_version: intThe 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_idinstance-attribute
platform_id: intThe operating system platform.
For Win32 on NT-based operating systems,
RtlGetVersion returns the value VER_PLATFORM_WIN32_NT.
product_idinstance-attribute
product_id: strDisplayed 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_nameinstance-attribute
product_name: strValue of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName registry key.
For example: "Windows 10 Home Single Language".
product_typeinstance-attribute
product_type: intThe product type.
This member contains additional information about the system.
registered_ownerinstance-attribute
registered_owner: strValue of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RegisteredOwner registry key.
For example: "Microsoft Corporation".
release_idinstance-attribute
release_id: strValue of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ReleaseId registry key.
For example: "1903".
service_pack_majorinstance-attribute
service_pack_major: intThe 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_minorinstance-attribute
service_pack_minor: intThe minor version number of the latest service pack installed on the system.
For example, for Service Pack 3, the minor version number is zero.
system_memoryinstance-attribute
system_memory: intThe physically installed memory in the computer, in megabytes.
This may not be the same as available memory.
user_nameinstance-attribute
user_name: str