C# Class Dev2.Studio.Core.Services.System.SystemInfoService

Class wrapping the standard environment variables, and adding a little extra. adapted from http://www.csharp411.com/determine-windows-version-and-edition-with-c/
Inheritance: ISystemInfoService
ファイルを表示 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
GetSystemInfo ( ) : SystemInfoTO

Gets the system info.

Private Methods

Method Description
GetProductInfo ( int osMajorVersion, int osMinorVersion, int spMajorVersion, int spMinorVersion, int &edition ) : bool
GetSystemMetrics ( int nIndex ) : int
GetVersionEx ( Osversioninfoex &osVersionInfo ) : bool

Method Details

GetSystemInfo() public method

Gets the system info.
public GetSystemInfo ( ) : SystemInfoTO
return SystemInfoTO