SystemInfo Structure

Contains information about the current computer system.

This includes the architecture and type of the processor, the number of processors in the system, the page size, and other such information.

Definition

Namespace: DevCase.Win32.Structures
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public struct SystemInfo
Inheritance
Object    ValueType    SystemInfo

Remarks

Methods

Equals Indicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCode Returns the hash code for this instance.
(Inherited from ValueType)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns the fully qualified type name of this instance.
(Inherited from ValueType)

Fields

ActiveProcessorMask A mask representing the set of processors configured into the system.

Bit 0 is processor 0; bit 31 is processor 31.

AllocationGranularity The granularity for the starting address at which virtual memory can be allocated.

For more information, see VirtualAlloc(IntPtr, IntPtr, MemoryAllocationType, MemoryProtectionOptions).

MaximumApplicationAddress A pointer to the highest memory address accessible to applications and dynamic-link libraries (DLLs).
MinimumApplicationAddress A pointer to the lowest memory address accessible to applications and dynamic-link libraries (DLLs).
NumberOfProcessors The number of logical processors in the current group.

To retrieve the current processor group, use the GetLogicalProcessorInformation function.

PageSize The page size and the granularity of page protection and commitment.

This is the page size used by the VirtualAlloc(IntPtr, IntPtr, MemoryAllocationType, MemoryProtectionOptions) function.

ProcessorArchitecture The processor architecture of the installed operating system.
ProcessorLevel The architecture-dependent processor level. It should be used only for display purposes.

To determine the feature set of a processor, use the IsProcessorFeaturePresent(ProcessorFeature) function.

If ProcessorArchitecture is Intel, ProcessorLevel is defined by the CPU vendor.

If ProcessorArchitecture is IA64, ProcessorLevel is set to 1.

ProcessorRevision The architecture-dependent processor revision.
ProcessorType An obsolete member that is retained for compatibility.

Use the ProcessorArchitecture, ProcessorLevel and ProcessorRevision members to determine the type of processor.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also