The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
NetNamedPipeSecurityMode Enumeration
.NET Framework (current version)
Specifies whether transport-level security is used with named pipes.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Member name | Description | |
|---|---|---|
| None | Indicates no security is used with the named pipe transport. | |
| Transport | Indicates that transport-level security is used with the named pipe transport. |
Use this enumeration to specify whether transport-level security is used with named pipes when using the NetNamedPipeBinding. The default value is Transport.
NetNamedPipeBinding nnpb = new NetNamedPipeBinding(); NetNamedPipeSecurity nnpSecurity = nnpb.Security; nnpSecurity.Mode = NetNamedPipeSecurityMode.Transport; NamedPipeTransportSecurity npts = nnpSecurity.Transport; serviceHost.AddServiceEndpoint(typeof(ICalculator), nnpb, "net.pipe://localhost/ServiceModelSamples/Service");
.NET Framework
Available since 3.0
Available since 3.0
Show: