Clearscript V8: how to tell if 32 or 64 bit V8 engine was used?

193 views Asked by At

I have an issue where certain clients report bugs from code called from js.

One they I want to check is if this maybe is because of 32 vs 64 bit engine. How can I tell which was used? Is that something I can ask clearscript, or can I access that in js?

How is decided which engine is used, Windows bit width?

1

There are 1 answers

1
Mooshua On BEST ANSWER

RuntimeInformation.ProcessArchitecture is used to determine the version of V8 in use. Additionally, IsOSPlatform is used to determine the OS-specific version of V8 that should be used. Here is a list of all the options which ClearScript will select from.