TcpClientCredentialType 列舉
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉 TCP 用戶端的有效認證型別。
public enum class TcpClientCredentialType
C#
public enum TcpClientCredentialType
type TcpClientCredentialType =
Public Enum TcpClientCredentialType
- 繼承
名稱 | 值 | Description |
---|---|---|
Certificate | 2 | 使用憑證指定用戶端驗證。 |
None | 0 | 指定匿名驗證。 |
Windows | 1 | 使用 Windows 指定用戶端驗證。 |
ClientCredentialType 會使用這個列舉,來指定驗證所要使用的用戶端認證型別。
請注意,如果 SecurityMode 設為 TransportWithMessageCredential,則會忽略 TcpClientCredentialType 的值。
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 8 |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
UWP | 10.0 |