NetNamedPipeSecurityMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether transport-level security is used with named pipes.
public enum class NetNamedPipeSecurityMode
public enum NetNamedPipeSecurityMode
type NetNamedPipeSecurityMode =
Public Enum NetNamedPipeSecurityMode
- Inheritance
Fields
Name | Value | Description |
---|---|---|
None | 0 | Indicates no security is used with the named pipe transport. |
Transport | 1 | Indicates that transport-level security is used with the named pipe transport. |
Examples
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");
Remarks
Use this enumeration to specify whether transport-level security is used with named pipes when using the NetNamedPipeBinding. The default value is Transport.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.