TcpClientCredentialType 枚举

定义

枚举 TCP 客户端的有效凭据类型。Enumerates the valid credential types for TCP clients.

public enum class TcpClientCredentialType
public enum TcpClientCredentialType
type TcpClientCredentialType = 
Public Enum TcpClientCredentialType
继承
TcpClientCredentialType

字段

Certificate 2

指定使用证书进行客户端身份验证。Specifies client authentication using a certificate.

None 0

指定匿名身份验证。Specifies anonymous authentication.

Windows 1

指定使用 Windows 进行客户端身份验证。Specifies client authentication using Windows.

注解

此枚举由 ClientCredentialType 用来指定要用于身份验证的客户端凭据类型。This enumeration is used by ClientCredentialType to specify the type of client credential to be used for authentication.

注意,如果 SecurityMode 设置为 TransportWithMessageCredential,将忽略 TcpClientCredentialType 的值。Note that if SecurityMode is set to TransportWithMessageCredential, then the value of TcpClientCredentialType is ignored.

适用于