If the request is made by a HttpClient object, the "User-Agent" header is missing. Since there is no empty/null checking in BrowserDetector.GetBrowser method i get this error
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.Extensions.Primitives.StringValues.get_Item(Int32 index)
at Shyjus.BrowserDetection.BrowserDetector.GetBrowser()
If the request is made by a HttpClient object, the "User-Agent" header is missing. Since there is no empty/null checking in BrowserDetector.GetBrowser method i get this error
System.IndexOutOfRangeException: Index was outside the bounds of the array. at Microsoft.Extensions.Primitives.StringValues.get_Item(Int32 index) at Shyjus.BrowserDetection.BrowserDetector.GetBrowser()
Can you please fix this?