Provides a cross-platform functionality to get the current User-Agent value.
Use NuGet package manager to install this library.
Install-Package SByteDev.Xamarin.Plugins.UserAgent
using SByteDev.Xamarin.Plugins.UserAgent;
var userAgent = await UserAgentPlugin.Instance.GetUserAgentAsync(CancellationToken.None);
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update the tests as appropriate.