Note: This API is now obsolete.
Blocks a source so that multicast packets originating from it are no longer received.
Assembly: System.Net (in System.Net.dll)
The BlockSource method blocks multicast packets originating from a specified source address from being received. The client must have completed a join to the multicast group.
The sourceAddress parameter may be either an IPv6 or IPv4 address, but the sourceAddress parameter must match the address family of the multicast group that the client joined.
The method specified in the callback parameter is invoked when a packet has received.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)