Export (0) Print
Expand All

MulticastOption Constructor (IPAddress, Int32)

Initializes a new instance of the MulticastOption class with the specified IP multicast group address and interface index.

Namespace:  System.Net.Sockets
Assembly:  System (in System.dll)

public MulticastOption(
	IPAddress group,
	int interfaceIndex
)

Parameters

group
Type: System.Net.IPAddress

The IPAddress of the multicast group.

interfaceIndex
Type: System.Int32

The index of the interface that is used to send and receive multicast packets.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft