NetNamedPipeSecurity.Transport Property

Definition

Gets the transport security for the named pipe binding.

C#
public System.ServiceModel.NamedPipeTransportSecurity Transport { get; set; }
C#
public System.ServiceModel.NamedPipeTransportSecurity Transport { get; }

Property Value

The value of the NamedPipeTransportSecurity for the named pipe binding.

Examples

The following code shows how to access the Transport property:

C#
NamedPipeTransportSecurity npts = nnpSecurity.Transport;

Remarks

This method gives access to the ProtectionLevel for the named pipe transport through ProtectionLevel.

Applies to

產品 版本
.NET 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