User agent parsing libraries for .NET

Published on 2024-11-23 by Raul

For a new project, I need some user agent parsing libraries. I've had a look at a couple of them, and thought it would be a good idea to share the links.

1. Browser.php: this isn't a C# project, but it can easily be converted to one, with basic PHP knowledge. It's a single file, and pretty accurate.

2. UASparser: a simple library, with easily understandable code. The only thing I disliked is that the OS and browser versions aren't avalable separately; they are available in the name only.

3. UA-parser: I found this library to be the most complete. It exposes the name of the browser/os, and it's version as major version & minor version. What I don't like about it is that it's more difficult to setup.

Hope you found this interesting; and also that it saved some time.


Keep in touch


About

Hey there, I'm Raul, owner of CreativeCLR, a small consulting company.

Feel free to drop me any question you might have on this post using the comment section or the contact page.