An open API service indexing awesome lists of open source software.

https://github.com/mikaeldui/user-agent-dotnet

Adds a User-Agent class to System.Net that can be added to HttpClient and ClientWebSocket.
https://github.com/mikaeldui/user-agent-dotnet

http http-client user-agent websockets websockets-client

Last synced: about 2 months ago
JSON representation

Adds a User-Agent class to System.Net that can be added to HttpClient and ClientWebSocket.

Awesome Lists containing this project

README

        

# Mikael Dúi's User-Agent class for .NET
[![.NET](https://github.com/mikaeldui/user-agent-dotnet/actions/workflows/dotnet.yml/badge.svg)](https://github.com/mikaeldui/user-agent-dotnet/actions/workflows/dotnet.yml)
[![CodeQL Analysis](https://github.com/mikaeldui/user-agent-dotnet/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/mikaeldui/user-agent-dotnet/actions/workflows/codeql-analysis.yml)

![image](https://user-images.githubusercontent.com/3706841/149628726-4b57f5f7-371f-4991-bb44-d8e9ce62c4ab.png)

Adds a `UserAgent` class to `System.Net` that can be used with `HttpClient` and `ClientWebSocket` and whatever you want.

It can easily create a User-Agent from an assembly and includes the assembly version and repository URL among other things.

You can install it using the following **.NET CLI** command:

dotnet add package MikaelDui.Net.UserAgent --version *