Article Directory
-
-
- 1. Equipment
- 2. Graphics card
-
- 1 Graphics card name SystemInfo.graphicsDeviceName
- 2 Graphics card identifier SystemInfo.graphicsDeviceID
- 3 Graphics type SystemInfo.graphicsDeviceType
- 4 Graphics manufacturer SystemInfo.graphicsDeviceVendor
- 5 Graphics vendor ID SystemInfo.graphicsDeviceVendorID
- 6 Graphics card support version SystemInfo.graphicsDeviceVersion
- 7 显存 SystemInfo.graphicsMemorySize
- 8 pixel fill rate SystemInfo.graphicsPixelFillrate
- 9 SystemInfo.graphicsShaderLevel
- 10 SystemInfo.maxTextureSize
- 11 SystemInfo.graphicsMultiThreaded
- Three, memory SystemInfo.systemMemorySize
- Fourth, the operating system SystemInfo.operatingSystem
- Five, CPU
-
1. Equipment
1 Device model SystemInfo.deviceModel
The model of the device (read only). For iPhone6,2
example: ,Xiaomi MI 5
2 Device name SystemInfo.deviceName
User-defined device name (read-only), which is usually the name of the device when it appears on the network, such as the name that appears in the connection list when connecting to wifi.
3 Device type SystemInfo.deviceType
It is an enumeration (read only).
public enum DeviceType
{
Unknown = 0,
Handheld = 1, //手持设备,如手机,平板
Console = 2, //游戏机
Desktop = 3 //台式电脑,笔记本电脑
}
4 Device identifier SystemInfo.deviceUniqueIdentifier
Unique device identifier (read only).
iOS :
On iOS7
previous devices, it will return the hash value of the MAC address. On the iOS7
device, it will be UIDevice identifierForVendor
, or if it fails for some reason , it will be ASIdentifierManager advertisingIdentifier
.
Android :
Always return ANDROID_ID
of md5
. Please note that since Android 8.0
( API
level 26), it ANDROID_ID
depends on the signing key of the application. This means that the value of the “未签名”
build (which is signed with the debug keystore by default) will be different from “已签名”
the value of the build.
Windows Standalone :
The string concatenated from the hardware class of the computer system returns the hash value:
Win32_BaseBoard :: SerialNumber
Win32_BIOS :: SerialNumber
Win32_Processor :: UniqueId
Win32_DiskDrive :: SerialNumber
Win32_OperatingSystem :: SerialNumber
2. Graphics card
1 Graphics card name SystemInfo.graphicsDeviceName
Graphics card name, for example:Adreno(TM)530
2 Graphics card identifier SystemInfo.graphicsDeviceID
Graphics card identifier
3 Graphics type SystemInfo.graphicsDeviceType
Graphics card type, it is an enumeration
public enum GraphicsDeviceType
{
OpenGL2 = 0, //OpenGL 2.x graphics API.
Direct3D9 = 1, //Direct3D 9 graphics API.
Direct3D11 = 2,
PlayStation3 = 3,
Null = 4,
Xbox360 = 6,
OpenGLES2 = 8,
OpenGLES3 = 11,
PlayStationVita = 12,
PlayStation4 = 13,
XboxOne = 14,
PlayStationMobile = 15,
Metal = 16,
OpenGLCore = 17,
Direct3D12 = 18,
Nintendo3DS = 19
}
4 Graphics manufacturer SystemInfo.graphicsDeviceVendor
Graphics card manufacturers, for Qualcomm
example: ,ATI
5 Graphics vendor ID SystemInfo.graphicsDeviceVendorID
Graphics card manufacturer ID
6 Graphics card support version SystemInfo.graphicsDeviceVersion
Graphics card support version
7 显存 SystemInfo.graphicsMemorySize
Video memory, unit M
8 pixel fill rate SystemInfo.graphicsPixelFillrate
Graphics card pixel fill rate (megapixels/sec), -1 unknown fill rate
9 SystemInfo.graphicsShaderLevel
Graphics card supports Shader level
10 SystemInfo.maxTextureSize
Support maximum image size
11 SystemInfo.graphicsMultiThreaded
Does the graphics card support multi-threaded rendering
Three, memory SystemInfo.systemMemorySize
Memory size, unit M
Fourth, the operating system SystemInfo.operatingSystem
Operating system, for example: Android OS 7.0/API-24(NRD90M/7.3.2)
、iPhone OS 9.3.3
Five, CPU
1 SystemInfo.processorCount
CPU processing core number
2 SystemInfo.processorType
CPU type