IPAddressExtensionsIsMulticast Method

Returns a value indicating whether a ip address is a multicast address

Definition

Namespace: ARSoft.Tools.Net
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public static bool IsMulticast(
	this IPAddress ipAddress
)

Parameters

ipAddress  IPAddress
Instance of the IPAddress, that should be used

Return Value

Boolean
true, if the given address is a multicast address; otherwise, false

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPAddress. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also