Windows apps
Collapse the table of content
Expand the table of content
Information
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.

NetTcpBinding::Security Property

 

Gets an object that specifies the type of security used with services configured with this binding.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property NetTcpSecurity^ Security {
	NetTcpSecurity^ get();
	void set(NetTcpSecurity^ value);
}

Property Value

Type: System.ServiceModel::NetTcpSecurity^

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

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

This example shows how to get the Security value.

NetTcpSecurity security = binding.Security;

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show:
© 2017 Microsoft