Unity - Scripting API: SystemInfo.deviceModel
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
public static string deviceModel;
Description
The model of the device (Read Only).
Exact format of model name is operating system dependent.
-
Windows: "Model (Manufacturer)" (e.g.
Latitude 7480 (Dell Inc.)) -
macOS: "HardwareModelIdentifier" (e.g.
MacBookPro18,1oriMac21,1) -
Linux:
PC -
WebGL: "BrowserName Version" (e.g.
Chrome 120.0.0.0) -
QNX:
SoC
The returned value will usually be similar to the one shown in the operating system's "About Device" or "System Information" screen.
Additional resources: deviceType.