PeerTransportElement.ListenIPAddress Property

Definition

Gets or sets a configuration element that specifies the IP address upon which the peer transport listens.

C#
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.PeerTransportListenAddressConverter))]
[System.Configuration.ConfigurationProperty("listenIPAddress", DefaultValue=null)]
public System.Net.IPAddress ListenIPAddress { get; set; }

Property Value

A IPAddress that contains the IP address upon which the peer transport listens.

Attributes

Remarks

If this property is not set, or is set to a null reference, the associated PeerNode listens on all global addresses (both IPv4 and IPv6) configured for the local machine.

Applies to

Produkt Wersje
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1