QuicConnection.IsSupported 属性

定义

获取一个值,该值指示当前计算机上的客户端方案是否支持 QUIC。

public:
 static property bool IsSupported { bool get(); };
public static bool IsSupported { get; }
[System.Runtime.Versioning.SupportedOSPlatformGuard("windows")]
[System.Runtime.Versioning.SupportedOSPlatformGuard("linux")]
[System.Runtime.Versioning.SupportedOSPlatformGuard("osx")]
public static bool IsSupported { get; }
static member IsSupported : bool
[<System.Runtime.Versioning.SupportedOSPlatformGuard("windows")>]
[<System.Runtime.Versioning.SupportedOSPlatformGuard("linux")>]
[<System.Runtime.Versioning.SupportedOSPlatformGuard("osx")>]
static member IsSupported : bool
Public Shared ReadOnly Property IsSupported As Boolean

属性值

如果当前计算机上支持 QUIC,则可以使用 true;否则,false

属性

注解

有关 QUIC 先决条件和支持的操作系统,请参阅 平台依赖项

适用于