using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Cosmos.System.PCInfo
{
public class Processor
{
///
/// Manufacturer of the procesor (on intel: genuine intel)
///
public string Manufacturer { get; private set; }
///
/// Processor family number
///
public int Family { get; private set; }
///
/// Flags of the processor (sse, fpu and so on)
///
public List Flags { get; private set; }
///
/// Stepping of the processor
///
public int Stepping { get; private set; }
///
/// Model number
///
public int ModelNumber { get; private set; }
///
/// Brand of the processor
///
public string Brand { get; private set; }
///
/// Frequency in mhz
///
public double Frequency { get; private set; }
public Processor()
{
Cosmos.HAL.PCInformation.Processor processor = new HAL.PCInformation.Processor();
this.Flags = processor.Flags;
this.Manufacturer = processor.Manufacturer;
this.Family = processor.Family;
this.ModelNumber = processor.ModelNumber;
this.Stepping = processor.Stepping;
this.Brand = processor.GetBrandName();
this.Frequency = processor.Frequency;
}
}
}