Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NetTcpBinding.Security Property

Definition

Namespace:
System.ServiceModel
Assemblies:
System.ServiceModel.dll, System.ServiceModel.NetTcp.dll
Assembly:
System.ServiceModel.NetTcp.dll
Assembly:
System.ServiceModel.dll
Packages:
System.ServiceModel.NetTcp v10.0.652802, System.ServiceModel.Primitives v10.0.652802
Package:
System.ServiceModel.NetTcp v10.0.652802
Source:
NetTcpBinding.cs
Source:
NetTcpBinding.cs
Source:
NetTcpBinding.cs

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::NetTcpSecurity ^ Security { System::ServiceModel::NetTcpSecurity ^ get(); void set(System::ServiceModel::NetTcpSecurity ^ value); };
public:
 property System::ServiceModel::NetTcpSecurity ^ Security { System::ServiceModel::NetTcpSecurity ^ get(); };
public System.ServiceModel.NetTcpSecurity Security { get; set; }
public System.ServiceModel.NetTcpSecurity Security { get; }
member this.Security : System.ServiceModel.NetTcpSecurity with get, set
member this.Security : System.ServiceModel.NetTcpSecurity
Public Property Security As NetTcpSecurity
Public ReadOnly Property Security As NetTcpSecurity

Property Value

The NetTcpSecurity that contains the types of security used with this binding. The default mode of security for the NetTCPBinding is Transport.

Examples

This example shows how to get the Security value.

NetTcpSecurity security = binding.Security;

Remarks

The NetTcpSecurity provides the types of security and settings available to the NetTcpBinding.

Applies to


Feedback

Was this page helpful?