Arcasharp.UserAgents
1.1.60
dotnet add package Arcasharp.UserAgents --version 1.1.60
NuGet\Install-Package Arcasharp.UserAgents -Version 1.1.60
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Arcasharp.UserAgents" Version="1.1.60" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Arcasharp.UserAgents" Version="1.1.60" />
<PackageReference Include="Arcasharp.UserAgents" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Arcasharp.UserAgents --version 1.1.60
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Arcasharp.UserAgents, 1.1.60"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Arcasharp.UserAgents@1.1.60
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Arcasharp.UserAgents&version=1.1.60
#tool nuget:?package=Arcasharp.UserAgents&version=1.1.60
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Arcasharp.UserAgents
Arcasharp.UserAgents is a C# library that provides a collection of top user agents and methods to retrieve them. This package is based on the data provided by top-user-agents.
Getting Started
To get started with Arcasharp.UserAgents, follow these steps:
Install the package via NuGet:
dotnet add package Arcasharp.UserAgentsAdd the necessary using directive in your code:
using Arcasharp.UserAgents;
Examples
Pick any user-agent
Returns any of the top user-agents, at random.
string userAgent = UserAgents.PickAny();
Console.WriteLine(userAgent);
Get all user-agents
Returns all known top user-agents.
ReadOnlyCollection<string> userAgents = UserAgents.GetTopUserAgents();
foreach (var userAgent in userAgents)
{
Console.WriteLine(userAgent);
}
Get the top user-agent
Returns the top user-agent.
string topUserAgent = UserAgents.GetTopUserAgent();
Console.WriteLine(topUserAgent);
Special thanks
Special thanks to Kiko Beats and top-user-agents contributors.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.60 | 100 | 5/11/2026 |
| 1.1.59 | 100 | 5/4/2026 |
| 1.1.58 | 112 | 4/27/2026 |
| 1.1.57 | 105 | 4/20/2026 |
| 1.1.56 | 111 | 4/6/2026 |
| 1.1.55 | 111 | 3/30/2026 |
| 1.1.54 | 104 | 3/23/2026 |
| 1.1.53 | 124 | 3/16/2026 |
| 1.1.52 | 106 | 3/9/2026 |
| 1.1.51 | 110 | 3/2/2026 |
| 1.1.50 | 111 | 2/23/2026 |
| 1.1.49 | 113 | 2/16/2026 |
| 1.1.48 | 118 | 2/9/2026 |
| 1.1.47 | 123 | 2/2/2026 |
| 1.1.46 | 121 | 1/26/2026 |
| 1.1.45 | 120 | 1/19/2026 |
| 1.1.44 | 119 | 1/12/2026 |
| 1.1.43 | 122 | 1/5/2026 |
| 1.1.42 | 124 | 12/29/2025 |
| 1.1.41 | 196 | 12/22/2025 |
Loading failed