using System;
using System.Management;
namespace PathFinder.OPSP.Management.Control
{
/// <summary>
/// 平台信息类
/// </summary>
public class PlatformInfo
{
private string m_strCPU;
private string m_strOS;
private string m_strRAM;
private string m_strVM;
private string m_strDisk;
public PlatformInfo()
{
this.Refresh();
}
public string CPU
{
get
{
return m_strCPU;
}
}
public string OS
{
get
{
return m_strOS;
}
}
public string RAM
{
get
{
return m_strRAM;
}
}
public string VirtualMemory
{
get
{
return m_strVM;
}
}
public string Disk
{
get
{
return m_strDisk;
}
}
public void Refresh()
&n