UserAgentParser icon indicating copy to clipboard operation
UserAgentParser copied to clipboard

Include whether the operating system is 64 bit or 32 bit

Open Stadly opened this issue 8 years ago • 6 comments

It would be great if information about the bit-width of the operating system could be included. Several of the providers give this information, so it shouldn't be too hard to do :)

Stadly avatar Aug 21 '17 09:08 Stadly

Some have this information, but not that many.

For what you need this information?

ThaDafinser avatar Aug 23 '17 05:08 ThaDafinser

On a software downloads page, I would like to highlight either the 32-bit or 64-bit version of each program, based on the user's operation system. Many users don't know whether they are running a 32-bit or a 64-bit operation system, so it's hard for them to choose which version to download.

Stadly avatar Aug 23 '17 06:08 Stadly

Makes sense.

For now you could use the $result->getProviderResultRaw(); and depending on the provider there will be different fields field out.

ThaDafinser avatar Aug 23 '17 07:08 ThaDafinser

Thanks :)

Stadly avatar Aug 23 '17 07:08 Stadly

Software downloads is what I use it for too. WhichBrowser doesn't expose this, but I should probably add it.

NielsLeenheer avatar Aug 23 '17 07:08 NielsLeenheer

Would you be interested in a pull request on this?

Stadly avatar Jan 23 '18 18:01 Stadly