getSystemInfo

fnSYSTEM_INFO getSystemInfo() @trusted nothrow

Gets system information using GetSystemInfo.

This function provides basic system information on Windows.

Returns

SYSTEM_INFO structure with system information.

Example:

auto info = getSystemInfo();
writeln("Processor count: ", info.dwNumberOfProcessors);