c++ - How to get PC Model type? -


is there function or method pc's model type? in case "optiplex 780". until queryd wmi (win32_computersystem), , worked in 99% of cases, sometimes, couldn't retrieve model. wmi isn't option me. i'm looking other way. has idea?

thanks.

according microsoft's documentation, model must filled in:

model

data type: string

access type: read-only

product name manufacturer gives computer. property must have value.

perhaps times doesn't work when you're logged in non-administrator account?

most access wmi restricted administrator accounts non-administrator accounts have access on local computer.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -