IpAddressHelperIsMulticastAddress Method |
Determines whether an IP address is a multicast address. This method works with IPv4 and IPv6.
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static bool IsMulticastAddress(
this IPAddress ip
)
<ExtensionAttribute>
Public Shared Function IsMulticastAddress (
ip As IPAddress
) As Boolean
public:
[ExtensionAttribute]
static bool IsMulticastAddress(
IPAddress^ ip
)
[<ExtensionAttribute>]
static member IsMulticastAddress :
ip : IPAddress -> bool
Parameters
- ip
- Type: System.NetIPAddress
IPAddress instance to check.
Return Value
Type:
BooleanUsage 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