Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbytedev/net.mvvmcross.plugins.useragent
Provides a cross-platform functionality to get the current User-Agent value.
https://github.com/sbytedev/net.mvvmcross.plugins.useragent
android c-sharp ios mvvmcross user-agent xamarin
Last synced: about 1 month ago
JSON representation
Provides a cross-platform functionality to get the current User-Agent value.
- Host: GitHub
- URL: https://github.com/sbytedev/net.mvvmcross.plugins.useragent
- Owner: sbytedev
- License: mit
- Created: 2019-07-05T19:22:59.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-01T13:00:59.000Z (about 2 years ago)
- Last Synced: 2024-08-31T05:44:30.774Z (5 months ago)
- Topics: android, c-sharp, ios, mvvmcross, user-agent, xamarin
- Language: C#
- Homepage:
- Size: 78.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MvvmCross UserAgent Plugin
![GitHub](https://img.shields.io/github/license/SByteDev/Net.MvvmCross.Plugins.UserAgent.svg)
![Nuget](https://img.shields.io/nuget/v/SByteDev.MvvmCross.Plugins.UserAgent.svg)
[![CI](https://github.com/SByteDev/Net.MvvmCross.Plugins.UserAgent/actions/workflows/ci.yml/badge.svg)](https://github.com/SByteDev/Net.MvvmCross.Plugins.UserAgent/actions/workflows/ci.yml)
[![CD](https://github.com/SByteDev/Net.MvvmCross.Plugins.UserAgent/actions/workflows/cd.yml/badge.svg)](https://github.com/SByteDev/Net.MvvmCross.Plugins.UserAgent/actions/workflows/cd.yml)
[![CodeFactor](https://www.codefactor.io/repository/github/sbytedev/net.mvvmcross.plugins.useragent/badge)](https://www.codefactor.io/repository/github/sbytedev/net.mvvmcross.plugins.useragent)Provides a cross-platform functionality to get the current [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent) value.
## Installation
Use [NuGet](https://www.nuget.org) package manager to install this library.
```bash
Install-Package SByteDev.MvvmCross.Plugins.UserAgent
```## Usage
```cs
using SByteDev.MvvmCross.Plugins.UserAgent;var userAgent = await Mvx.IoCProvider.Resolve().GetUserAgentAsync(CancellationToken.None);
```## Implementation
Based on [Xamarin UserAgent Plugin](https://github.com/SByteDev/Net.Xamarin.Plugins.UserAgent).## 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](https://choosealicense.com/licenses/mit/)