System.Net.Sockets.MulticastOption.LocalAddress Property

Gets or sets the local address associated with a multicast group.

Syntax

public System.Net.IPAddress LocalAddress { get; set; }

Value

An instance of System.Net.IPAddress containing the local IP address.

Remarks

The MulticastOption.LocalAddress property contains the IP address of the interface associated with the multicast group membership. If MulticastOption.LocalAddress is set to System.Net.IPAddress.Any, the default interface is used.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0