VpnHood.Net.Quic.MsQuic
The Windows and Linux implementation of VpnHood.Net.Quic.Abstractions, over .NET's System.Net.Quic and the
native MsQuic library: the QUIC client and server of VpnHood's transport.
dotnet add package VpnHood.Net.Quic.MsQuic
How it works
MsQuicClientconnects with TLS 1.3 and the ALPN tokenh3, and leaves the server's certificate to the connect options'CertificateValidationCallback.MsQuicClient.IsSupportedtells whether the platform has QUIC.MsQuicServerlistens; it takes its certificate from the listener options'ServerCertificateSelector. Its connections implementIQuicServerConnection, and their streamsIQuicStream.MsQuicServer.IsSupportedtells whether the platform can listen.MsQuicClientFactoryis the platform'sIQuicClientFactory, which makesMsQuicClients.- The package references
Microsoft.Native.Quic.MsQuic.OpenSSL, which brings a native MsQuic library.
Packages
VpnHood.Net.Quic.MsQuic— this implementationVpnHood.Net.Quic.Abstractions— the contract;VpnHood.Net.Quic.AndroidandVpnHood.Net.Quic.Iosare the mobile clients
Requires .NET 11.