SpiceRandomUserAgent 1.0.0
dotnet add package SpiceRandomUserAgent --version 1.0.0
NuGet\Install-Package SpiceRandomUserAgent -Version 1.0.0
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="SpiceRandomUserAgent" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpiceRandomUserAgent --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SpiceRandomUserAgent, 1.0.0"
#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.
// Install SpiceRandomUserAgent as a Cake Addin #addin nuget:?package=SpiceRandomUserAgent&version=1.0.0 // Install SpiceRandomUserAgent as a Cake Tool #tool nuget:?package=SpiceRandomUserAgent&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Spice Random User Agent
SpiceRUA is a library to help you generate random user-agents.
Installation
Add the dll to your solution references.
Usage
// Print a random User-Agent.
Console.WriteLine(SpiceRUA.GetRandomUA());
// Print a random Windows Based Browser User-Agent.
Console.WriteLine(SpiceRUA.GetWindowsUA());
// Print a random Linux Based Browser User-Agent.
Console.WriteLine(SpiceRUA.GetLinuxUA());
// Print a random Macintosh Based Browser User-Agent.
Console.WriteLine(SpiceRUA.GetMacUA());
// Print a random iPhone Based Browser User-Agent.
Console.WriteLine(SpiceRUA.GetiPhoneUA());
// Print a random iPad Based Browser User-Agent.
Console.WriteLine(SpiceRUA.GetiPadUA());
// Print a random Android Based Browser User-Agent.
Console.WriteLine(SpiceRUA.GetAndroidUA());
// Print a random Mobile Based Browser User-Agent.
Console.WriteLine(SpiceRUA.GetMobileUA());
// Print a random Opera Browser User-Agent.
Console.WriteLine(SpiceRUA.GetOperaUA());
// Print a random Opera Mini Browser User-Agent.
Console.WriteLine(SpiceRUA.GetOpearMiniUA());
// Print a random Mozilla Browser User-Agent.
Console.WriteLine(SpiceRUA.GetMozillaUA());
// Print a random Firefox Browser User-Agent.
Console.WriteLine(SpiceRUA.GetFirefoxUA());
// Print a random Safari Browser User-Agent.
Console.WriteLine(SpiceRUA.GetSafariUA());
// Print a random Chrome Browser User-Agent.
Console.WriteLine(SpiceRUA.GetChromeUA());
// Print a random Maxthon Browser User-Agent.
Console.WriteLine(SpiceRUA.GetMaxthonUA());
// Print a random IceaWeasel Browser User-Agent.
Console.WriteLine(SpiceRUA.GetIceaWeaselUA());
// Print a random AOL Browser User-Agent.
Console.WriteLine(SpiceRUA.GetAOLUA());
Contributing
Thanks to http://www.useragentstring.com/ for providing most of the User-Agents.
License
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has 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.0.0 | 667 | 5/24/2020 |