Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


deviceModel

The model of the device (Read Only).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static string deviceModel { get; }

Remarks

Exact format of model name is operating system dependent.
  • Windows: "Model (Manufacturer)" (e.g.
    Latitude 7480 (Dell Inc.)
    )
  • macOS: "HardwareModelIdentifier" (e.g.
    MacBookPro18,1
    or
    iMac21,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: SystemInfo.deviceType.