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.
NetNamedPipeBinding Constructor (NetNamedPipeSecurityMode)
.NET Framework (current version)
Initializes a new instance of the NetNamedPipeBinding class with a specified security mode.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- securityMode
-
Type:
System.ServiceModel::NetNamedPipeSecurityMode
The NetNamedPipeSecurityMode value that specifies whether Windows security is used with named pipes.
Use this constructor when you want to configure the security explicitly. The default is Transport when using the default constructor.
Uri baseAddress = new Uri("http://localhost:8000/uesamples/service"); ServiceHost serviceHost = new ServiceHost(typeof(CalculatorService), baseAddress); NetNamedPipeBinding binding = new NetNamedPipeBinding(NetNamedPipeSecurityMode.None);
.NET Framework
Available since 3.0
Available since 3.0
Show: