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.
- Host: GitHub
- URL: https://github.com/mikaeldui/user-agent-dotnet
- Owner: mikaeldui
- License: unlicense
- Created: 2022-01-15T15:06:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T00:25:49.000Z (about 3 years ago)
- Last Synced: 2025-01-29T05:15:04.495Z (4 months ago)
- Topics: http, http-client, user-agent, websockets, websockets-client
- Language: C#
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Mikael Dúi's User-Agent class for .NET
[](https://github.com/mikaeldui/user-agent-dotnet/actions/workflows/dotnet.yml)
[](https://github.com/mikaeldui/user-agent-dotnet/actions/workflows/codeql-analysis.yml)
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 *