Class BasicSystemInfoDisplayMessages
The static methods exposed by this class simplify displaying information about the processor on which the calling process is executing that is otherwise hard to determine accurately.
Inheritance
Namespace: WizardWrx.Core
Assembly: WizardWrx.Core.dll
Syntax
public static class BasicSystemInfoDisplayMessages : object
Fields
| Improve this Doc View SourceWWKV_GETOSVERSIONINFO_WIN2K
Use as argument pintMajorMinimum to WWKW_OSIsMinimumVersionMaj or WWKW_OSIsMinimumVersionMin to test for Windows 2000 or newer.
Declaration
public const int WWKV_GETOSVERSIONINFO_WIN2K = null
Field Value
Type | Description |
---|---|
System.Int32 |
WWKW_GETOSVERSIONINFO_BASE
Use as argument pintOSVersionMinorinimum to WWKW_OSIsMinimumVersionMin to test for even numbered (.0) versions of Windows (e. g., Win28, Vista, 8.0, 10.0).
Declaration
public const int WWKW_GETOSVERSIONINFO_BASE = null
Field Value
Type | Description |
---|---|
System.Int32 |
WWKW_GETOSVERSIONINFO_MINOR_1
Use as argument pintOSVersionMinorinimum to WWKW_OSIsMinimumVersionMin to test for point versions of Windows (e. g., Windows XP (5.1), Windows 7 (which has an internal version number of 6.1), etc.
Declaration
public const int WWKW_GETOSVERSIONINFO_MINOR_1 = null
Field Value
Type | Description |
---|---|
System.Int32 |
WWKW_GETOSVERSIONINFO_MINOR_2
Use as argument pintOSVersionMinorinimum to WWKW_OSIsMinimumVersionMin to test for point two versions of Windows (e. g., Windows Server 2003, 2008, 2012).
Declaration
public const int WWKW_GETOSVERSIONINFO_MINOR_2 = null
Field Value
Type | Description |
---|---|
System.Int32 |
WWKW_GETOSVERSIONINFO_VISTA
Use as argument pintMajorMinimum to WWKW_OSIsMinimumVersionMaj or WWKW_OSIsMinimumVersionMin to test for Windows Vista or newer.
Declaration
public const int WWKW_GETOSVERSIONINFO_VISTA = null
Field Value
Type | Description |
---|---|
System.Int32 |
WWKW_GETOSVERSIONINFO_WIN10
Use as argument pintMajorMinimum to WWKW_OSIsMinimumVersionMaj or WWKW_OSIsMinimumVersionMin to test for Windows 10 or newer.
Declaration
public const int WWKW_GETOSVERSIONINFO_WIN10 = null
Field Value
Type | Description |
---|---|
System.Int32 |
WWKW_GETOSVERSIONINFO_WIN8
Use as argument pintMajorMinimum to WWKW_OSIsMinimumVersionMaj or WWKW_OSIsMinimumVersionMin to test for Windows 8 or newer.
Declaration
public const int WWKW_GETOSVERSIONINFO_WIN8 = null
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDisplayProcessorArchitecture()
Get a string that describes the processor architecture and the size, in bits, of the machine word of the subsystem in which the calling process is executing.
Declaration
public static string DisplayProcessorArchitecture()
Returns
Type | Description |
---|---|
System.String | The return value is a string of the following form. Processor Architecture = ProcessorArchitecture Process Machine Word = NN bits |
GetProcessorArchitecture()
Get a ProcessorArchitecture enumeration member that specifies the processor architecture.
Declaration
public static ProcessorArchitecture GetProcessorArchitecture()
Returns
Type | Description |
---|---|
ProcessorArchitecture | The return value is a member of the ProcessorArchitecture enumeration that specifies the type of processor installed on the machine. |
WWKW_OSIsMinimumVersionMaj(Int32)
Evaluate whether the operating system is at least equal to the specified major version number.
Declaration
public static bool WWKW_OSIsMinimumVersionMaj(int pintMajorMinimum)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pintMajorMinimum |
Returns
Type | Description |
---|---|
System.Boolean | Return TRUE if the calling process is executing on the specified major version number of Windows or newer. Otherwise, return FALSE. |
WWKW_OSIsMinimumVersionMin(Int32, Int32)
Evaluate whether the operating system is at least equal to the specified major and minor version number.
Declaration
public static bool WWKW_OSIsMinimumVersionMin(int pintMajorMinimum, int pintOSVersionMinorinimum)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pintMajorMinimum | |
System.Int32 | pintOSVersionMinorinimum |
Returns
Type | Description |
---|---|
System.Boolean | Return TRUE if the calling process is executing on the specified major and minor version number of Windows or newer. Otherwise, return FALSE. |
WWKW_OSIsVistaOrNewer()
Evaluate whether the operating system is at least Windows Vista.
Declaration
public static bool WWKW_OSIsVistaOrNewer()
Returns
Type | Description |
---|---|
System.Boolean | Return TRUE if the calling process is executing on Windows Vista or newer. Otherwise, return FALSE. |
WWKW_OSIsWindows7OrNewer()
Evaluate whether the operating system is at least Windows 7.
Declaration
public static bool WWKW_OSIsWindows7OrNewer()
Returns
Type | Description |
---|---|
System.Boolean | Return TRUE if the calling process is executing on Windows 7 or newer. Otherwise, return FALSE. |
WWKW_OSIsWindowsXPOrNewer()
Evaluate whether the operating system is at least Windows XP.
Declaration
public static bool WWKW_OSIsWindowsXPOrNewer()
Returns
Type | Description |
---|---|
System.Boolean | Return TRUE if the calling process is executing on Windows XP or newer. Otherwise, return FALSE. |