IPAddressExtensionsIsLoopback Method |
Function to test if this IPAddress is set to the systm's loopback address. This will check against IPv4 or IPv6.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static bool IsLoopback(
this IPAddress ipAddress
)
Parameters
- ipAddress IPAddress
- IPAddress to check.
Return Value
Boolean'true' if the specified address represents a loopback 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).
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also