Läs på engelska Redigera

Dela via


TcpClientCredentialType Enum

Definition

Enumerates the valid credential types for TCP clients.

C#
public enum TcpClientCredentialType
Inheritance
TcpClientCredentialType

Fields

Name Value Description
None 0

Specifies anonymous authentication.

Windows 1

Specifies client authentication using Windows.

Certificate 2

Specifies client authentication using a certificate.

Remarks

This enumeration is used by ClientCredentialType to specify the type of client credential to be used for authentication.

Note that if SecurityMode is set to TransportWithMessageCredential, then the value of TcpClientCredentialType is ignored.

Applies to

Produkt Versioner
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.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
.NET Standard 2.0 (package-provided)
UWP 10.0