/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object extendedStartingAddress = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryArrayMappedAddress.ExtendedStartingAddress); if (extendedStartingAddress != null) { properties.Add(DmiProperty.MemoryArrayMappedAddress.StartAddress, extendedStartingAddress); } object extendedEndingAddress = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryArrayMappedAddress.ExtendedEndingAddress); if (extendedEndingAddress != null) { properties.Add(DmiProperty.MemoryArrayMappedAddress.EndAddress, extendedEndingAddress); } object memoryArrayHandle = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryArrayMappedAddress.MemoryArrayHandle); if (memoryArrayHandle != null) { properties.Add(DmiProperty.MemoryArrayMappedAddress.MemoryArrayHandle, memoryArrayHandle); } object partitionWidth = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryArrayMappedAddress.PartitionWidth); if (partitionWidth != null) { properties.Add(DmiProperty.MemoryArrayMappedAddress.PartitionWidth, partitionWidth); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object description = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementDevice.Description); if (description != null) { properties.Add(DmiProperty.ManagementDevice.Description, description); } object type = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementDevice.Type); if (type != null) { properties.Add(DmiProperty.ManagementDevice.Type, type); } object address = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementDevice.Address); if (address != null) { properties.Add(DmiProperty.ManagementDevice.Address, address); } object addressType = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementDevice.AddressType); if (addressType != null) { properties.Add(DmiProperty.ManagementDevice.AddressType, addressType); } }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion >= DmiStructureVersion.v21) { properties.Add(DmiProperty.PortableBattery.Location, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.Location)); properties.Add(DmiProperty.PortableBattery.Manufacturer, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.Manufacturer)); properties.Add(DmiProperty.PortableBattery.DeviceName, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.DeviceName)); ushort designVoltage = SmbiosStructure.GetPropertyValue <ushort>(SmbiosProperty.PortableBattery.DesignVoltage); if (designVoltage != 0x0000) { properties.Add(DmiProperty.PortableBattery.DesignVoltage, designVoltage); } properties.Add(DmiProperty.PortableBattery.SBDSVersionNumber, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.SBDSVersionNumber)); byte maximumErrorInBatteryData = SmbiosStructure.GetPropertyValue <byte>(SmbiosProperty.PortableBattery.MaximunErrorInBatteryData); if (maximumErrorInBatteryData != 0xff) { properties.Add(DmiProperty.PortableBattery.MaximunErrorInBatteryData, maximumErrorInBatteryData); } properties.Add(DmiProperty.PortableBattery.ManufactureDate, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.ManufactureDate)); properties.Add(DmiProperty.PortableBattery.SerialNumber, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.SerialNumber)); properties.Add(DmiProperty.PortableBattery.DeviceChemistry, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.DeviceChemistry)); properties.Add(DmiProperty.PortableBattery.DesignCapacity, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.DesignCapacity)); properties.Add(DmiProperty.PortableBattery.DesignCapacityMultiplier, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.DesignCapacityMultiplier)); } if (SmbiosStructure.StructureInfo.Length >= 0x17) { properties.Add(DmiProperty.PortableBattery.OemSpecific, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortableBattery.OemSpecific)); } }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion < DmiStructureVersion.v21) { return; } properties.Add(DmiProperty.PhysicalMemoryArray.Location, SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.Location)); properties.Add(DmiProperty.PhysicalMemoryArray.Use, SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.Use)); properties.Add(DmiProperty.PhysicalMemoryArray.MemoryErrorCorrection, SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.MemoryErrorCorrection)); properties.Add(DmiProperty.PhysicalMemoryArray.MemoryErrorInformationHandle, SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.MemoryErrorInformationHandle)); properties.Add(DmiProperty.PhysicalMemoryArray.NumberOfMemoryDevices, SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.NumberOfMemoryDevices)); uint maximumCapacity = SmbiosStructure.GetPropertyValue <uint>(SmbiosProperty.PhysicalMemoryArray.MaximumCapacity); if (maximumCapacity != 0x08000000) { properties.Add(DmiProperty.PhysicalMemoryArray.MaximumCapacity, maximumCapacity); } else { if (ImplementedVersion >= DmiStructureVersion.v27) { properties.Add(DmiProperty.PhysicalMemoryArray.MaximumCapacity, SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.ExtendedMaximumCapacity)); } } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object description = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementDeviceComponent.Description); if (description != null) { properties.Add(DmiProperty.ManagementDeviceComponent.Description, description); } object managementDeviceHandle = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementDeviceComponent.ManagementDeviceHandle); if (managementDeviceHandle != null) { properties.Add(DmiProperty.ManagementDeviceComponent.ManagementDeviceHandle, managementDeviceHandle); } object componentHandle = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementDeviceComponent.ComponentHandle); if (componentHandle != null) { properties.Add(DmiProperty.ManagementDeviceComponent.ComponentHandle, componentHandle); } object thresholdHandleProperty = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementDeviceComponent.ThresholdHandle); if (thresholdHandleProperty != null) { int thresholdHandle = (int)thresholdHandleProperty; if (thresholdHandle != 0xffff) { properties.Add(DmiProperty.ManagementDeviceComponent.ThresholdHandle, thresholdHandle); } } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (SmbiosStructure.StructureInfo.Length >= 0x05) { object installableLanguages = SmbiosStructure.GetPropertyValue(SmbiosProperty.BiosLanguage.InstallableLanguages); if (installableLanguages != null) { properties.Add(DmiProperty.BiosLanguage.InstallableLanguages, installableLanguages); } } if (SmbiosStructure.StructureInfo.Length >= 0x06) { object isCurrentAbbreviated = SmbiosStructure.GetPropertyValue(SmbiosProperty.BiosLanguage.IsCurrentAbbreviated); if (isCurrentAbbreviated != null) { properties.Add(DmiProperty.BiosLanguage.IsCurrentAbbreviated, isCurrentAbbreviated); } } if (SmbiosStructure.StructureInfo.Length >= 0x16) { object current = SmbiosStructure.GetPropertyValue(SmbiosProperty.BiosLanguage.Current); if (current != null) { properties.Add(DmiProperty.BiosLanguage.Current, current); } } }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion < DmiStructureVersion.v21) { return; } properties.Add(DmiProperty.MemoryArrayMappedAddress.MemoryArrayHandle, SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryArrayMappedAddress.MemoryArrayHandle)); properties.Add(DmiProperty.MemoryArrayMappedAddress.PartitionWidth, SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryArrayMappedAddress.PartitionWidth)); uint startingAddress = SmbiosStructure.GetPropertyValue <uint>(SmbiosProperty.MemoryArrayMappedAddress.StartingAddress); properties.Add( DmiProperty.MemoryArrayMappedAddress.StartingAddress, startingAddress == 0xffffffff ? SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryArrayMappedAddress.ExtendedStartingAddress) : (ulong)startingAddress * (ulong)1024); uint endingAddress = SmbiosStructure.GetPropertyValue <uint>(SmbiosProperty.MemoryArrayMappedAddress.EndingAddress); properties.Add( DmiProperty.MemoryArrayMappedAddress.EndingAddress, endingAddress == 0xffffffff ? SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryArrayMappedAddress.ExtendedEndingAddress) : (ulong)endingAddress * (ulong)1024); }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object frontPanelResetStatus = SmbiosStructure.GetPropertyValue(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.FrontPanelResetStatus); if (frontPanelResetStatus != null) { properties.Add(DmiProperty.HardwareSecurity.HardwareSecuritySettings.FrontPanelResetStatus, frontPanelResetStatus); } object administratorPasswordStatus = SmbiosStructure.GetPropertyValue(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.AdministratorPasswordStatus); if (administratorPasswordStatus != null) { properties.Add(DmiProperty.HardwareSecurity.HardwareSecuritySettings.AdministratorPasswordStatus, administratorPasswordStatus); } object keyboardPasswordStatus = SmbiosStructure.GetPropertyValue(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.KeyboardPasswordStatus); if (keyboardPasswordStatus != null) { properties.Add(DmiProperty.HardwareSecurity.HardwareSecuritySettings.KeyboardPasswordStatus, keyboardPasswordStatus); } object powerOnPasswordStatus = SmbiosStructure.GetPropertyValue(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.PowerOnPasswordStatus); if (powerOnPasswordStatus != null) { properties.Add(DmiProperty.HardwareSecurity.HardwareSecuritySettings.PowerOnPasswordStatus, powerOnPasswordStatus); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object interfaceType = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementControllerHostInterface.InterfaceType); if (interfaceType != null) { properties.Add(DmiProperty.ManagementControllerHostInterface.InterfaceType, interfaceType); } if (SmbiosStructure.StructureInfo.Length >= 0x07) { object interfaceTypeSpecificData = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementControllerHostInterface.InterfaceTypeSpecificData); if (interfaceTypeSpecificData != null) { properties.Add(DmiProperty.ManagementControllerHostInterface.InterfaceTypeSpecificData, interfaceTypeSpecificData); } } object protocols = SmbiosStructure.GetPropertyValue(SmbiosProperty.ManagementControllerHostInterface.Protocols); if (protocols != null) { properties.Add(DmiProperty.ManagementControllerHostInterface.Protocols, new DmiManagementControllerHostInterfaceProtocolRecordsCollection((ManagementControllerHostInterfaceProtocolRecordsCollection)protocols)); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object startAddress = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryDeviceMappedAddress.StartingAddress); if (startAddress != null) { properties.Add(DmiProperty.MemoryDeviceMappedAddress.StartAddress, startAddress); } object endAddress = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryDeviceMappedAddress.EndingAddress); if (endAddress != null) { properties.Add(DmiProperty.MemoryDeviceMappedAddress.EndAddress, endAddress); } object memoryDeviceHandle = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryDeviceMappedAddress.MemoryDeviceHandle); if (memoryDeviceHandle != null) { properties.Add(DmiProperty.MemoryDeviceMappedAddress.MemoryDeviceHandle, memoryDeviceHandle); } object memoryArrayMappedAddressHandle = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryDeviceMappedAddress.MemoryArrayMappedAddressHandle); if (memoryArrayMappedAddressHandle != null) { properties.Add(DmiProperty.MemoryDeviceMappedAddress.MemoryArrayMappedAddressHandle, memoryArrayMappedAddressHandle); } object partitionRowPositionProperty = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryDeviceMappedAddress.PartitionRowPosition); if (partitionRowPositionProperty != null) { byte partitionRowPosition = (byte)partitionRowPositionProperty; if (partitionRowPosition != 0xff) { properties.Add(DmiProperty.MemoryDeviceMappedAddress.PartitionRowPosition, partitionRowPosition); } } object interleavePosition = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryDeviceMappedAddress.InterleavePosition); if (interleavePosition != null) { properties.Add(DmiProperty.MemoryDeviceMappedAddress.InterleavePosition, interleavePosition); } object interleavedDataDepthProperty = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryDeviceMappedAddress.InterleavedDataDepth); if (interleavedDataDepthProperty != null) { byte interleavedDataDepth = (byte)interleavedDataDepthProperty; if (interleavedDataDepth != 0xff) { properties.Add(DmiProperty.MemoryDeviceMappedAddress.InterleavedDataDepth, interleavedDataDepth); } } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object location = SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.Location); if (location != null) { properties.Add(DmiProperty.PhysicalMemoryArray.Location, location); } object use = SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.Use); if (use != null) { properties.Add(DmiProperty.PhysicalMemoryArray.Use, use); } object memoryErrorCorrection = SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.MemoryErrorCorrection); if (memoryErrorCorrection != null) { properties.Add(DmiProperty.PhysicalMemoryArray.MemoryErrorCorrection, memoryErrorCorrection); } object memoryErrorInformationHandle = SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.MemoryErrorInformationHandle); if (memoryErrorInformationHandle != null) { properties.Add(DmiProperty.PhysicalMemoryArray.MemoryErrorInformationHandle, memoryErrorInformationHandle); } object numberOfMemoryDevices = SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.NumberOfMemoryDevices); if (numberOfMemoryDevices != null) { properties.Add(DmiProperty.PhysicalMemoryArray.NumberOfMemoryDevices, numberOfMemoryDevices); } object maximumCapacityProperty = SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.MaximumCapacity); if (maximumCapacityProperty != null) { ulong maximumCapacity = (ulong)maximumCapacityProperty; if (maximumCapacity != 0x08000000) { properties.Add(DmiProperty.PhysicalMemoryArray.MaximumCapacity, maximumCapacity); } else { if (SmbiosStructure.StructureInfo.Length >= 0x10) { object extendedMaximunCapacity = SmbiosStructure.GetPropertyValue(SmbiosProperty.PhysicalMemoryArray.ExtendedMaximunCapacity); if (extendedMaximunCapacity != null) { properties.Add(DmiProperty.PhysicalMemoryArray.MaximumCapacity, extendedMaximunCapacity); } } } } }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { #region version 3.5 properties.Add(DmiProperty.StringProperty.PropertyId, SmbiosStructure.GetPropertyValue(SmbiosProperty.StringProperty.PropertyId)); properties.Add(DmiProperty.StringProperty.PropertyValue, SmbiosStructure.GetPropertyValue(SmbiosProperty.StringProperty.PropertyValue)); properties.Add(DmiProperty.StringProperty.ParentHandle, SmbiosStructure.GetPropertyValue(SmbiosProperty.StringProperty.ParentHandle)); #endregion }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { properties.Add(DmiProperty.GroupAssociations.GroupName, SmbiosStructure.GetPropertyValue(SmbiosProperty.GroupAssociations.GroupName)); object containedElements = SmbiosStructure.GetPropertyValue(SmbiosProperty.GroupAssociations.ContainedElements); properties.Add(DmiProperty.GroupAssociations.ContainedElements, new DmiGroupAssociationElementCollection((GroupAssociationElementCollection)containedElements)); }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { properties.Add(DmiProperty.PortConnector.InternalReferenceDesignator, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortConnector.InternalReferenceDesignator)); properties.Add(DmiProperty.PortConnector.InternalConnectorType, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortConnector.InternalConnectorType)); properties.Add(DmiProperty.PortConnector.ExternalReferenceDesignator, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortConnector.ExternalReferenceDesignator)); properties.Add(DmiProperty.PortConnector.ExternalConnectorType, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortConnector.ExternalConnectorType)); properties.Add(DmiProperty.PortConnector.PortType, SmbiosStructure.GetPropertyValue(SmbiosProperty.PortConnector.PortType)); }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object vendorId = SmbiosStructure.GetPropertyValue(SmbiosProperty.TpmDevice.VendorId); if (vendorId != null) { properties.Add(DmiProperty.TpmDevice.VendorId, vendorId); } object vendorIdDescription = SmbiosStructure.GetPropertyValue(SmbiosProperty.TpmDevice.VendorIdDescription); if (vendorIdDescription != null) { properties.Add(DmiProperty.TpmDevice.VendorIdDescription, vendorIdDescription); } object majorSpecVersion = SmbiosStructure.GetPropertyValue(SmbiosProperty.TpmDevice.MajorSpecVersion); if (majorSpecVersion != null) { properties.Add(DmiProperty.TpmDevice.MajorSpecVersion, majorSpecVersion); } object minorSpecVersion = SmbiosStructure.GetPropertyValue(SmbiosProperty.TpmDevice.MinorSpecVersion); if (minorSpecVersion != null) { properties.Add(DmiProperty.TpmDevice.MinorSpecVersion, minorSpecVersion); } object firmwareVersion = SmbiosStructure.GetPropertyValue(SmbiosProperty.TpmDevice.FirmwareVersion); if (firmwareVersion != null) { properties.Add(DmiProperty.TpmDevice.FirmwareVersion, firmwareVersion); } object description = SmbiosStructure.GetPropertyValue(SmbiosProperty.TpmDevice.Description); if (description != null) { properties.Add(DmiProperty.TpmDevice.Description, description); } object characteristics = SmbiosStructure.GetPropertyValue(SmbiosProperty.TpmDevice.Characteristics); if (characteristics != null) { properties.Add(DmiProperty.TpmDevice.Characteristics, characteristics); } object oemDefined = SmbiosStructure.GetPropertyValue(SmbiosProperty.TpmDevice.OemDefined); if (oemDefined != null) { properties.Add(DmiProperty.TpmDevice.OemDefined, oemDefined); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object description = SmbiosStructure.GetPropertyValue(SmbiosProperty.Inactive.Description); if (description != null) { properties.Add(DmiProperty.Inactive.Description, description); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object values = SmbiosStructure.GetPropertyValue(SmbiosProperty.SystemConfigurationOptions.Values); if (values != null) { properties.Add(DmiProperty.SystemConfigurationOptions.Values, values); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object systemEventLogs = SmbiosStructure.GetPropertyValue(SmbiosProperty.SystemEventLog.SystemEventLogs); if (systemEventLogs != null) { properties.Add(DmiProperty.SystemEventLog.SystemEventLogs, systemEventLogs); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object bootStatus = SmbiosStructure.GetPropertyValue(SmbiosProperty.SystemBoot.BootStatus); if (bootStatus != null) { properties.Add(DmiProperty.SystemBoot.BootStatus, bootStatus); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object entries = SmbiosStructure.GetPropertyValue(SmbiosProperty.AdditionalInformation.Entries); if (entries != null) { properties.Add(DmiProperty.AdditionalInformation.Entries, new DmiAdditionalInformationEntryCollection((AdditionalInformationEntryCollection)entries)); } }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion < DmiStructureVersion.Latest) { return; } properties.Add(DmiProperty.SystemBoot.BootStatus, SmbiosStructure.GetPropertyValue(SmbiosProperty.SystemBoot.BootStatus)); }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object status = SmbiosStructure.GetPropertyValue(SmbiosProperty.EndOfTable.Status); if (status != null) { properties.Add(DmiProperty.EndOfTable.Status, status); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object values = SmbiosStructure.GetPropertyValue(SmbiosProperty.OemStrings.Values); if (values != null) { properties.Add(DmiProperty.OemStrings.Values, values); } }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object socketDesignation = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryModule.SocketDesignation); if (socketDesignation != null) { properties.Add(DmiProperty.MemoryModule.SocketDesignation, socketDesignation); } object bankConnections = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryModule.BankConnections); if (bankConnections != null) { properties.Add(DmiProperty.MemoryModule.BankConnections, bankConnections); } object currentSpeedProperty = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryModule.CurrentSpeed); if (currentSpeedProperty != null) { byte currentSpeed = (byte)currentSpeedProperty; if (currentSpeed != 0x00) { properties.Add(DmiProperty.MemoryModule.CurrentSpeed, currentSpeed); } } object currentMemoryType = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryModule.CurrentMemoryType); if (currentMemoryType != null) { properties.Add(DmiProperty.MemoryModule.CurrentMemoryType, currentMemoryType); } object installedSize = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryModule.InstalledSize); if (installedSize != null) { properties.Add(DmiProperty.MemoryModule.InstalledSize, installedSize); } object enabledSize = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryModule.EnabledSize); if (enabledSize != null) { properties.Add(DmiProperty.MemoryModule.EnabledSize, enabledSize); } object errorStatus = SmbiosStructure.GetPropertyValue(SmbiosProperty.MemoryModule.ErrorStatus); if (errorStatus != null) { properties.Add(DmiProperty.MemoryModule.ErrorStatus, errorStatus); } }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion < DmiStructureVersion.Latest) { return; } properties.Add(DmiProperty.OnBoardDevicesExtended.ReferenceDesignation, SmbiosStructure.GetPropertyValue(SmbiosProperty.OnBoardDevicesExtended.ReferenceDesignation)); properties.Add(DmiProperty.OnBoardDevicesExtended.Element.DeviceStatus, SmbiosStructure.GetPropertyValue(SmbiosProperty.OnBoardDevicesExtended.Element.DeviceStatus)); properties.Add(DmiProperty.OnBoardDevicesExtended.Element.DeviceType, SmbiosStructure.GetPropertyValue(SmbiosProperty.OnBoardDevicesExtended.Element.DeviceType)); }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion < DmiStructureVersion.Latest) { return; } properties.Add(DmiProperty.OutOfBandRemote.Manufacturer, SmbiosStructure.GetPropertyValue(SmbiosProperty.OutOfBandRemote.Manufacturer)); properties.Add(DmiProperty.OutOfBandRemote.Connections.OutBoundConnection, SmbiosStructure.GetPropertyValue(SmbiosProperty.OutOfBandRemote.Connections.OutBoundConnection)); properties.Add(DmiProperty.OutOfBandRemote.Connections.InBoundConnection, SmbiosStructure.GetPropertyValue(SmbiosProperty.OutOfBandRemote.Connections.InBoundConnection)); }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion < DmiStructureVersion.v20) { return; } properties.Add(DmiProperty.BiosLanguage.InstallableLanguages, SmbiosStructure.GetPropertyValue(SmbiosProperty.BiosLanguage.InstallableLanguages)); properties.Add(DmiProperty.BiosLanguage.IsCurrentAbbreviated, SmbiosStructure.GetPropertyValue(SmbiosProperty.BiosLanguage.IsCurrentAbbreviated)); properties.Add(DmiProperty.BiosLanguage.Current, SmbiosStructure.GetPropertyValue(SmbiosProperty.BiosLanguage.Current)); }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion <= DmiStructureVersion.Latest) { return; } properties.Add(DmiProperty.BootIntegrityServicesEntryPoint.Checksum, SmbiosStructure.GetPropertyValue(SmbiosProperty.BootIntegrityServicesEntryPoint.Checksum)); properties.Add(DmiProperty.BootIntegrityServicesEntryPoint.BisEntryPointAddress16, SmbiosStructure.GetPropertyValue(SmbiosProperty.BootIntegrityServicesEntryPoint.BisEntryPointAddress16)); properties.Add(DmiProperty.BootIntegrityServicesEntryPoint.BisEntryPointAddress32, SmbiosStructure.GetPropertyValue(SmbiosProperty.BootIntegrityServicesEntryPoint.BisEntryPointAddress32)); }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { object referenceHandle = SmbiosStructure.GetPropertyValue(SmbiosProperty.ProcessorAdditionalInformation.ReferencedHandle); if (referenceHandle != null) { properties.Add(DmiProperty.ProcessorAdditionalInformation.ReferencedHandle, referenceHandle); } properties.Add(DmiProperty.ProcessorAdditionalInformation.ProcessorSpecificBlock, SmbiosStructure.GetPropertyValue(SmbiosProperty.ProcessorAdditionalInformation.ProcessorSpecificBlock)); }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(DmiClassPropertiesTable properties) { if (ImplementedVersion < DmiStructureVersion.v21) { return; } properties.Add(DmiProperty.BuiltInPointingDevice.NumberOfButtons, SmbiosStructure.GetPropertyValue(SmbiosProperty.BuiltInPointingDevice.NumberOfButtons)); properties.Add(DmiProperty.BuiltInPointingDevice.Type, SmbiosStructure.GetPropertyValue(SmbiosProperty.BuiltInPointingDevice.Type)); properties.Add(DmiProperty.BuiltInPointingDevice.Interface, SmbiosStructure.GetPropertyValue(SmbiosProperty.BuiltInPointingDevice.Interface)); }