Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BiosInformationStructure"/> class.
 /// </summary>
 public BiosInformationStructure()
     : base(SmbiosManager.GetStructureOfType(0x00))
 {
     BiosVendor  = GetStringFromIndex(Intrinsic.Load8(address, 0x04u));
     BiosVersion = GetStringFromIndex(Intrinsic.Load8(address, 0x05u));
     BiosDate    = GetStringFromIndex(Intrinsic.Load8(address, 0x08u));
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 public BiosInformationStructure()
     : base(SmbiosManager.GetStructureOfType(0x00))
 {
     this.biosVendor  = GetStringFromIndex(Native.Get8(address + 0x04u));
     this.biosVersion = GetStringFromIndex(Native.Get8(address + 0x05u));
     this.biosDate    = GetStringFromIndex(Native.Get8(address + 0x08u));
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 public CpuStructure() : base(SmbiosManager.GetStructureOfType(0x04))
 {
     clockFrequency = Native.Get16(address + 0x12u);
     maxSpeed       = Native.Get16(address + 0x14u);
     vendor         = GetStringFromIndex(Native.Get8(address + 0x07u));
     dummy          = Native.Get16(address + 0x16u);
 }
 /// <summary>
 ///
 /// </summary>
 public CpuStructure()
     : base(SmbiosManager.GetStructureOfType(0x04))
 {
     version  = GetStringFromIndex(Native.Get8(address + 0x10u));
     socket   = GetStringFromIndex(Native.Get8(address + 0x04u));
     maxSpeed = Native.Get16(address + 0x16u);
     vendor   = GetStringFromIndex(Native.Get8(address + 0x07u));
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CpuStructure"/> class.
 /// </summary>
 public CpuStructure()
     : base(SmbiosManager.GetStructureOfType(0x04))
 {
     Version  = GetStringFromIndex(Intrinsic.Load8(address, 0x10u));
     Socket   = GetStringFromIndex(Intrinsic.Load8(address, 0x04u));
     MaxSpeed = Intrinsic.Load16(address, 0x16u);
     Vendor   = GetStringFromIndex(Intrinsic.Load8(address, 0x07u));
 }