/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region versions #region 2.0+ - 3.1.1 properties.Add(DmiProperty.ManagementControllerHostInterface.InterfaceType, GetInterfaceType(InterfaceType)); #endregion #region 3.2+ if (HeaderInfo.Length >= 0x07) { properties.Add(DmiProperty.ManagementControllerHostInterface.InterfaceTypeSpecificData, InterfaceTypeSpecificData); } if (HeaderInfo.Length >= 0x08 + InterfaceTypeSpecificDataLenght) { properties.Add(DmiProperty.ManagementControllerHostInterface.Protocols, new ManagementControllerHostInterfaceProtocolRecordsCollection(GetProtocolRecords())); } #endregion #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(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.ManagementDeviceComponent.Description, Description); properties.Add(SmbiosProperty.ManagementDeviceComponent.ManagementDeviceHandle, ManagementDeviceHandle); properties.Add(SmbiosProperty.ManagementDeviceComponent.ComponentHandle, ComponentHandle); properties.Add(SmbiosProperty.ManagementDeviceComponent.ThresholdHandle, ThresholdHandle); }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region values properties.Add(DmiProperty.MemoryChannel.ChannelType, GetChannelType(ChannelType)); properties.Add(DmiProperty.MemoryChannel.MaximunChannelLoad, MaximunChannelLoad); byte n = Count; if (n != 0x00) { if (HeaderInfo.Length >= 0x08) { byte[] containedElementsArray = new byte[n * 3]; Array.Copy(HeaderInfo.RawData, 0x07, containedElementsArray, 0, n * 3); IEnumerable <MemoryChannelElement> containedElements = GetContainedElements(containedElementsArray, n); properties.Add(DmiProperty.MemoryChannel.Devices, new MemoryChannelElementCollection(containedElements)); } } #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(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.Chassis.Elements.Min, Min); properties.Add(SmbiosProperty.Chassis.Elements.Max, Max); properties.Add(SmbiosProperty.Chassis.Elements.TypeSelect, TypeSelect); properties.Add(SmbiosProperty.Chassis.Elements.ItemType, ItemType); }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.ManagementDevice.Description, Description); properties.Add(SmbiosProperty.ManagementDevice.Type, GetDeviceType(Type)); properties.Add(SmbiosProperty.ManagementDevice.Address, Address); properties.Add(SmbiosProperty.ManagementDevice.AddressType, GetDeviceAddressType(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(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.FrontPanelResetStatus, GetSettings(FrontPanelResetStatus)); properties.Add(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.AdministratorPasswordStatus, GetSettings(AdministratorPasswordStatus)); properties.Add(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.KeyboardPasswordStatus, GetSettings(KeyboardPasswordStatus)); properties.Add(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.PowerOnPasswordStatus, GetSettings(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(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.AdditionalInformation.Entry.EntryLength, EntryLength); properties.Add(SmbiosProperty.AdditionalInformation.Entry.ReferencedHandle, ReferencedHandle); properties.Add(SmbiosProperty.AdditionalInformation.Entry.ReferencedOffset, ReferencedOffset); properties.Add(SmbiosProperty.AdditionalInformation.Entry.StringValue, StringValue); properties.Add(SmbiosProperty.AdditionalInformation.Entry.Value, Value); }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.SystemPowerControls.Month, Month); properties.Add(SmbiosProperty.SystemPowerControls.Day, Day); properties.Add(SmbiosProperty.SystemPowerControls.Hour, Hour); properties.Add(SmbiosProperty.SystemPowerControls.Minute, Minute); properties.Add(SmbiosProperty.SystemPowerControls.Second, Second); }
/// <inheritdoc /> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.PortConnector.InternalReferenceDesignator, InternalReference); properties.Add(SmbiosProperty.PortConnector.InternalConnectorType, GetConnectorType(InternalConnectorType)); properties.Add(SmbiosProperty.PortConnector.ExternalReferenceDesignator, ExternalReference); properties.Add(SmbiosProperty.PortConnector.ExternalConnectorType, GetConnectorType(ExternalConnectorType)); properties.Add(SmbiosProperty.PortConnector.PortType, GetPortType(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(SmbiosPropertiesTable properties) { #region 2.0+ if (StructureInfo.Length >= 0x0c) { properties.Add(SmbiosProperty.SystemSlots.SlotDesignation, SlotDesignation); properties.Add(SmbiosProperty.SystemSlots.SlotType, GetSlotType(SlotType)); properties.Add(SmbiosProperty.SystemSlots.SlotDataBusWidth, GetDataBusWidth(DataWidth)); properties.Add(SmbiosProperty.SystemSlots.CurrentUsage, GetCurrentUsage(CurrentUsage)); properties.Add(SmbiosProperty.SystemSlots.SlotLength, GetLength(Length)); properties.Add(SmbiosProperty.SystemSlots.SlotId, GetId(SlotType, Adapter, Socket)); properties.Add(SmbiosProperty.SystemSlots.Characteristics, GetCharacteristics(Characteristics1, 0xff)); } #endregion #region 2.1+ if (StructureInfo.Length >= 0x0d) { properties[SmbiosProperty.SystemSlots.Characteristics] = GetCharacteristics(Characteristics1, Characteristics2); } #endregion #region 2.6+ if (StructureInfo.Length >= 0x11) { properties.Add(SmbiosProperty.SystemSlots.SegmentBusFunction, GetSegmentBusFunction(SegmentBusFunction)); properties.Add(SmbiosProperty.SystemSlots.BusDeviceFunction, GetBusDeviceFunction(Bus, Device, Function)); } #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(SmbiosPropertiesTable properties) { if (StartingAddress == 0xffffffff) { if (StructureInfo.Length >= 0x14) { ulong extendedStartingAddress = ExtendedStartingAddress; properties.Add(SmbiosProperty.MemoryDeviceMappedAddress.StartingAddress, extendedStartingAddress); } } else { properties.Add(SmbiosProperty.MemoryDeviceMappedAddress.StartingAddress, StartingAddress); } if (EndingAddress == 0xffffffff) { if (StructureInfo.Length >= 0x1c) { ulong extendedEndingAddress = ExtendedEndingAddress; properties.Add(SmbiosProperty.MemoryDeviceMappedAddress.EndingAddress, extendedEndingAddress); } } else { properties.Add(SmbiosProperty.MemoryDeviceMappedAddress.EndingAddress, EndingAddress); } properties.Add(SmbiosProperty.MemoryDeviceMappedAddress.MemoryDeviceHandle, MemoryDeviceHandle); properties.Add(SmbiosProperty.MemoryDeviceMappedAddress.MemoryArrayMappedAddressHandle, MappedAddressHandle); properties.Add(SmbiosProperty.MemoryDeviceMappedAddress.PartitionRowPosition, PartitionRowPosition); properties.Add(SmbiosProperty.MemoryDeviceMappedAddress.InterleavePosition, InterleavePosition); properties.Add(SmbiosProperty.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(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.Latest) { return; } properties.Add(SmbiosProperty.OnBoardDevicesExtended.ReferenceDesignation, ReferenceDesignation); properties.Add(SmbiosProperty.OnBoardDevicesExtended.Element.DeviceStatus, DeviceStatus); properties.Add(SmbiosProperty.OnBoardDevicesExtended.Element.DeviceType, GetDeviceType(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(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.v21) { return; } properties.Add(SmbiosProperty.BuiltInPointingDevice.NumberOfButtons, NumberOfButtons); properties.Add(SmbiosProperty.BuiltInPointingDevice.Type, GetDeviceType(DeviceType)); properties.Add(SmbiosProperty.BuiltInPointingDevice.Interface, GetDeviceInterface(Interface)); }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.Latest) { return; } properties.Add(SmbiosProperty.BootIntegrityServicesEntryPoint.Checksum, Checksum); properties.Add(SmbiosProperty.BootIntegrityServicesEntryPoint.BisEntryPointAddress16, BisEntryPointAddress16); properties.Add(SmbiosProperty.BootIntegrityServicesEntryPoint.BisEntryPointAddress32, 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(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.v20) { return; } properties.Add(SmbiosProperty.BiosLanguage.InstallableLanguages, GetValues(Count)); properties.Add(SmbiosProperty.BiosLanguage.IsCurrentAbbreviated, IsCurrentAbbreviated); properties.Add(SmbiosProperty.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(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.GroupAssociations.GroupName, GroupName); int n = (StructureInfo.Length - 5) / 3; byte[] containedElementsArray = StructureInfo.RawData.Extract(0x05, n * 3); IEnumerable <GroupAssociationElement> containedElements = GetContainedElements(containedElementsArray, n); properties.Add(SmbiosProperty.GroupAssociations.ContainedElements, new 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(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.Latest) { return; } properties.Add(SmbiosProperty.OutOfBandRemote.Manufacturer, ManufacturerName); properties.Add(SmbiosProperty.OutOfBandRemote.Connections.OutBoundConnection, OutBoundConnection); properties.Add(SmbiosProperty.OutOfBandRemote.Connections.InBoundConnection, InBoundConnection); }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region values properties.Add(DmiProperty.TemperatureProbe.Description, Description); properties.Add(DmiProperty.TemperatureProbe.LocationAndStatus.Status, GetStatus(Status)); properties.Add(DmiProperty.TemperatureProbe.LocationAndStatus.Location, GetLocation(Location)); int maximunValue = MaximunValue; if (maximunValue != 0x8000) { properties.Add(DmiProperty.TemperatureProbe.MaximunValue, maximunValue); } int minimunValue = MinimunValue; if (minimunValue != 0x8000) { properties.Add(DmiProperty.TemperatureProbe.MinimunValue, minimunValue); } int resolution = Resolution; if (resolution != 0x8000) { properties.Add(DmiProperty.TemperatureProbe.Resolution, resolution); } int tolerance = Tolerance; if (tolerance != 0x8000) { properties.Add(DmiProperty.TemperatureProbe.Tolerance, tolerance); } int accuracy = Accuracy; if (accuracy != 0x8000) { properties.Add(DmiProperty.TemperatureProbe.Accuracy, accuracy); } properties.Add(DmiProperty.TemperatureProbe.OemDefined, OemDefined); if (HeaderInfo.Length >= 0x15) { int nominalValue = NominalValue; if (nominalValue != 0x8000) { properties.Add(DmiProperty.TemperatureProbe.NominalValue, nominalValue); } } #endregion }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region values properties.Add(DmiProperty.BuiltInPointingDevice.NumberOfButtons, NumberOfButtons); properties.Add(DmiProperty.BuiltInPointingDevice.Type, GetDeviceType(DeviceType)); properties.Add(DmiProperty.BuiltInPointingDevice.Interface, GetDeviceInterface(Interface)); #endregion }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region values properties.Add(DmiProperty.OutOfBandRemote.Manufacturer, ManufacturerName); properties.Add(DmiProperty.OutOfBandRemote.Connections.OutBoundConnection, OutBoundConnection); properties.Add(DmiProperty.OutOfBandRemote.Connections.InBoundConnection, InBoundConnection); #endregion }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region values properties.Add(DmiProperty.OnBoardDevicesExtended.ReferenceDesignation, ReferenceDesignation); properties.Add(DmiProperty.OnBoardDevicesExtended.Element.DeviceStatus, DeviceStatus); properties.Add(DmiProperty.OnBoardDevicesExtended.Element.DeviceType, GetDeviceType(DeviceType)); #endregion }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region values properties.Add(DmiProperty.BootIntegrityServicesEntryPoint.Checksum, Checksum); properties.Add(DmiProperty.BootIntegrityServicesEntryPoint.BisEntryPointAddress16, BisEntryPointAddress16); properties.Add(DmiProperty.BootIntegrityServicesEntryPoint.BisEntryPointAddress32, BisEntryPointAddress32); #endregion }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region values properties.Add(DmiProperty.OnBoardDevices.Enabled, IsEnabled); properties.Add(DmiProperty.OnBoardDevices.DeviceType, GetDeviceType(DeviceType)); properties.Add(DmiProperty.OnBoardDevices.Description, Description); #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(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.Latest) { return; } properties.Add(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.FrontPanelResetStatus, GetSettings(FrontPanelResetStatus)); properties.Add(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.AdministratorPasswordStatus, GetSettings(AdministratorPasswordStatus)); properties.Add(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.KeyboardPasswordStatus, GetSettings(KeyboardPasswordStatus)); properties.Add(SmbiosProperty.HardwareSecurity.HardwareSecuritySettings.PowerOnPasswordStatus, GetSettings(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(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.Latest) { return; } properties.Add(SmbiosProperty.ManagementDeviceComponent.Description, Description); properties.Add(SmbiosProperty.ManagementDeviceComponent.ComponentHandle, ComponentHandle); properties.Add(SmbiosProperty.ManagementDeviceComponent.ThresholdHandle, ThresholdHandle); properties.Add(SmbiosProperty.ManagementDeviceComponent.ManagementDeviceHandle, ManagementDeviceHandle); }
/// <inheritdoc/> /// <summary> /// Populates the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void PopulateProperties(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.Latest) { return; } properties.Add(SmbiosProperty.ManagementDevice.Description, Description); properties.Add(SmbiosProperty.ManagementDevice.Type, GetDeviceType(Type)); properties.Add(SmbiosProperty.ManagementDevice.Address, Address); properties.Add(SmbiosProperty.ManagementDevice.AddressType, GetDeviceAddressType(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(SmbiosPropertiesTable properties) { properties.Add(SmbiosProperty.ElectricalCurrentProbe.Description, Description); properties.Add(SmbiosProperty.ElectricalCurrentProbe.LocationAndStatus.Status, GetStatus(Status)); properties.Add(SmbiosProperty.ElectricalCurrentProbe.LocationAndStatus.Location, GetLocation(Location)); int maximunValue = MaximunValue; if (maximunValue != 0x8000) { properties.Add(SmbiosProperty.ElectricalCurrentProbe.MaximunValue, maximunValue); } int minimunValue = MinimunValue; if (minimunValue != 0x8000) { properties.Add(SmbiosProperty.ElectricalCurrentProbe.MinimunValue, minimunValue); } int resolution = Resolution; if (resolution != 0x8000) { properties.Add(SmbiosProperty.ElectricalCurrentProbe.Resolution, resolution); } int tolerance = Tolerance; if (tolerance != 0x8000) { properties.Add(SmbiosProperty.ElectricalCurrentProbe.Tolerance, tolerance); } int accuracy = Accuracy; if (accuracy != 0x8000) { properties.Add(SmbiosProperty.ElectricalCurrentProbe.Accuracy, accuracy); } properties.Add(SmbiosProperty.ElectricalCurrentProbe.OemDefined, OemDefined); if (StructureInfo.Length >= 0x15) { int nominalValue = NominalValue; if (nominalValue != 0x8000) { properties.Add(SmbiosProperty.ElectricalCurrentProbe.NominalValue, nominalValue); } } }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region versions properties.Add(DmiProperty.ManagementDevice.Description, Description); properties.Add(DmiProperty.ManagementDevice.Type, GetDeviceType(Type)); properties.Add(DmiProperty.ManagementDevice.Address, Address); properties.Add(DmiProperty.ManagementDevice.AddressType, GetDeviceAddressType(AddressType)); #endregion }
/// <inheritdoc /> /// <summary> /// Gets the property collection for this structure. /// </summary> /// <param name="properties">Collection of properties of this structure.</param> protected override void Parse(SmbiosPropertiesTable properties) { #region validate parameter/s SentinelHelper.ArgumentNull(properties); #endregion #region values properties.Add(DmiProperty.HardwareSecurity.HardwareSecuritySettings.FrontPanelResetStatus, GetSettings(FrontPanelResetStatus)); properties.Add(DmiProperty.HardwareSecurity.HardwareSecuritySettings.AdministratorPasswordStatus, GetSettings(AdministratorPasswordStatus)); properties.Add(DmiProperty.HardwareSecurity.HardwareSecuritySettings.KeyboardPasswordStatus, GetSettings(KeyboardPasswordStatus)); properties.Add(DmiProperty.HardwareSecurity.HardwareSecuritySettings.PowerOnPasswordStatus, GetSettings(PowerOnPasswordStatus)); #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(SmbiosPropertiesTable properties) { if (StructureInfo.StructureVersion < SmbiosStructureVersion.Latest) { return; } properties.Add(SmbiosProperty.SystemPowerControls.Month, Month); properties.Add(SmbiosProperty.SystemPowerControls.Day, Day); properties.Add(SmbiosProperty.SystemPowerControls.Hour, Hour); properties.Add(SmbiosProperty.SystemPowerControls.Minute, Minute); properties.Add(SmbiosProperty.SystemPowerControls.Second, Second); }