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

DmiStructureCollection.IndexOf method

Returns the index of the object with the key specified in the collection

public int IndexOf(DmiStructureClass ResultKey)
parameter description
ResultKey One of the Results of SmbiosStructure that represents the key of the object to be searched in the collection.

Return Value

Zero-base index of the first appearance of the item in the collection, if found; otherwise, -1.

Exceptions

exception condition
InvalidEnumArgumentException  

See Also