userSpaceBitness

userSpaceBitness

Reflects the bitness that your application is running with.

A number of OS allow you to run a 32 bit app on a 64bit kernel. The userSpaceBitness reflects the the bitness you compiled your app to.

If you are in a virtualised environment this may not reflect the actual hardware CPU bitness.

Virtualisation environments include Windows wow64. In these cases, the bitness will reflect the bitness of your compiled executable.

Possible values:

  • 32

  • 64

Example:

import "package:system_info2/system_info2.dart";

print("Bitness          : ${SysInfo.userSpaceBitness}");

Last updated