iSMBIOS is a lightweight implementation that allows us to obtain SMBIOS information. Currently only works on windows
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. |
Zero-base index of the first appearance of the item in the collection, if found; otherwise, -1.
exception | condition |
---|---|
InvalidEnumArgumentException |