iSMBIOS

iSMBIOS is a lightweight implementation that allows us to obtain SMBIOS information. Currently only works on windows

View the Project on GitHub iAJTin/iSMBIOS

DmiClass.GetProperty method

Returns the value of specified property. Always returns the first appearance of the property.

public QueryPropertyResult GetProperty(IPropertyKey propertyKey)
parameter description
propertyKey Key to the property to obtain

Return Value

A QueryPropertyResult reference that contains the result of the operation, to check if the operation is correct, the Success property will be true and the Value property will contain the value; Otherwise, the the Success property will be false and the Errors property will contain the errors associated with the operation, if they have been filled in.

The type of the Value property is PropertyItem. Contains the result of the operation.

See Also