NetNamedPipeBinding.Security Property
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.
Gets an object that specifies the type of security used with services configured with this binding.
public:
property System::ServiceModel::NetNamedPipeSecurity ^ Security { System::ServiceModel::NetNamedPipeSecurity ^ get(); void set(System::ServiceModel::NetNamedPipeSecurity ^ value); };
public:
property System::ServiceModel::NetNamedPipeSecurity ^ Security { System::ServiceModel::NetNamedPipeSecurity ^ get(); };
public System.ServiceModel.NetNamedPipeSecurity Security { get; set; }
public System.ServiceModel.NetNamedPipeSecurity Security { get; }
member this.Security : System.ServiceModel.NetNamedPipeSecurity with get, set
member this.Security : System.ServiceModel.NetNamedPipeSecurity
Public Property Security As NetNamedPipeSecurity
Public ReadOnly Property Security As NetNamedPipeSecurity
Property Value
The NetNamedPipeSecurity that is used with this binding. The default value is Transport.
Examples
The following example shows how to get the type of security to be used with this binding.
NetNamedPipeSecurity security = binding.Security;
Remarks
The NetNamedPipeSecurity provides the types of security and settings available to the NetNamedPipeBinding.