Export (0) Print
Expand All

UdpAnySourceMulticastClient.MulticastLoopback Property

.NET Framework 4.6 and 4.5

Note: This API is now obsolete.

Gets or sets a value that specifies whether outgoing multicast packets are delivered to the sending application.

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

[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
	true)]
public bool MulticastLoopback { get; set; }

Property Value

Type: System.Boolean
Returns Boolean.
A value that indicates if outgoing packets to a multicast group are delivered to the sending application.

ExceptionCondition
InvalidOperationException

The multicast group has not yet been joined.

ObjectDisposedException

The UdpAnySourceMulticastClient has been disposed.

Multicast traffic is a scalable method for many-to-many communication on the Internet. A process subscribes to a multicast group address. Then, any packets sent by a subscribed process to the multicast group are received by every other process subscribed to the multicast address. The MulticastLoopback property controls whether any process on the local computer receives multicast packets sent by this client to the multicast group.

.NET Framework

Obsolete (does not compile) in 4.5.2 and later

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft