Skip to content

sbytedev/Net.Xamarin.Plugins.UserAgent

Repository files navigation

Xamarin UserAgent Plugin

GitHub Nuget CI CD CodeFactor

Provides a cross-platform functionality to get the current User-Agent value.

Installation

Use NuGet package manager to install this library.

Install-Package SByteDev.Xamarin.Plugins.UserAgent

Usage

using SByteDev.Xamarin.Plugins.UserAgent;

var userAgent = await UserAgentPlugin.Instance.GetUserAgentAsync(CancellationToken.None);

Contributing

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.

License

MIT