ThaDafinser / UserAgentParser

UserAgent parsing done right
http://useragent.mkf.solutions/
MIT License
247 stars 48 forks source link

Include whether the operating system is 64 bit or 32 bit #113

Open Stadly opened 7 years ago

Stadly commented 7 years ago

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 :)

ThaDafinser commented 7 years ago

Some have this information, but not that many.

For what you need this information?

Stadly commented 7 years ago

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.

ThaDafinser commented 7 years ago

Makes sense.

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

Stadly commented 7 years ago

Thanks :)

NielsLeenheer commented 7 years ago

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

Stadly commented 6 years ago

Would you be interested in a pull request on this?