C# Class Nanook.TheGhost.OsInfo

OSInfo Class
显示文件 Open project: Nanook/TheGHOST

Public Methods

Method Description
GetOSName ( ) : string

Returns the name of the operating system running on this computer.

GetOSProductType ( ) : string

Returns the product type of the operating system running on this computer.

GetOSServicePack ( ) : string

Returns the service pack information of the operating system running on this computer.

GetPlatform ( ) : System.Platform
ProcessorCount ( ) : int

Private Methods

Method Description
GetNativeSystemInfo ( SYSTEM_INFO &lpSystemInfo ) : void
GetVersionEx ( OSVERSIONINFOEX &osVersionInfo ) : bool

Method Details

GetOSName() public static method

Returns the name of the operating system running on this computer.
public static GetOSName ( ) : string
return string

GetOSProductType() public static method

Returns the product type of the operating system running on this computer.
public static GetOSProductType ( ) : string
return string

GetOSServicePack() public static method

Returns the service pack information of the operating system running on this computer.
public static GetOSServicePack ( ) : string
return string

GetPlatform() public static method

public static GetPlatform ( ) : System.Platform
return System.Platform

ProcessorCount() public static method

public static ProcessorCount ( ) : int
return int