totpero / DeviceDetector.NET

The Universal Device Detection library will parse any User Agent and detect the browser, operating system, device used (desktop, tablet, mobile, tv, cars, console, etc.), brand and model.
Apache License 2.0
348 stars 73 forks source link

The example for bot detection is incorrect #59

Closed yarong-lifemap closed 1 year ago

yarong-lifemap commented 2 years ago

In the example on the main page of this repository and in Nuget, it's stated that (result != null) means it's a bot. Actually, it's now result.Success that returns this value.

totpero commented 1 year ago

Hi @yarong-lifemap , I just release new version v6.1.0 check if is ok for you.

Thanks 👍