NetPeerTcpBindingElement.ListenIPAddress Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the IP address on which the peer node will listen for TCP messages.

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

[ConfigurationPropertyAttribute("listenIPAddress", DefaultValue = null)]
public IPAddress ListenIPAddress { get; set; }

Property Value

Type: System.Net.IPAddress

String that specifies the IP address (IPv4 or IPv6) on which the peer channel binding will listen for TCP messages.

.NET Framework
Available since 3.0
Return to top