MsQuicLibrary Class

Describes the MsQuic library the process loaded.

public static class MsQuicLibrary

Remarks

On Windows, MsQuic ships with .NET. On Linux, install the libmsquic package; on macOS, run brew install libmsquic. Only 64-bit processes are supported.

Properties

NameDescription
IsSupportedGets a value indicating whether MsQuic could be loaded.
NotSupportedReasonGets why MsQuic could not be loaded, or null when it is supported.
UsesSchannelGets a value indicating whether MsQuic uses Schannel (Windows) instead of OpenSSL for TLS.
VersionGets the version of the loaded MsQuic library, or null when it is not supported.

IsSupported

MsQuicLibrary.cs

Gets a value indicating whether MsQuic could be loaded.

public static bool IsSupported { get; }

Property value

bool

NotSupportedReason

MsQuicLibrary.cs

Gets why MsQuic could not be loaded, or null when it is supported.

public static string? NotSupportedReason { get; }

Property value

string?

UsesSchannel

MsQuicLibrary.cs

Gets a value indicating whether MsQuic uses Schannel (Windows) instead of OpenSSL for TLS.

public static bool UsesSchannel { get; }

Property value

bool

Gets the version of the loaded MsQuic library, or null when it is not supported.

public static Version? Version { get; }

Property value

Version?