Gets or sets the IP address used for listening by the local peer node.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
If a valid unicast IP address is specified for this property, then the associated PeerNode object listens on that address. IPv4 and IPv6 wildcard addresses are not considered valid.
If a non-null IP address string is specified for this property in conjunction with PnrpPeerResolverBindingElement, then the IP address must be associated with a physical interface rather than a virtual one.
ListenIPAddress must be set for ad-hoc networks in order to register with the default peer resolver (PNRP). If this property is specified in conjunction with PnrpPeerResolverElement (the default peer resolver), then the IP address must belong to a physical network interface rather than a virtual one (such as a tunneling interface). This is because PNRP only publishes within clouds corresponding to physical interfaces. By setting this property to null, all global addresses are published in the global PNRP cloud.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.