Click or drag to resize

ExtIsLocal Method

Determines whether the specified IP address is a local IP address.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static bool IsLocal(
	this IPAddress address
)

Parameters

address
Type: System.NetIPAddress
A IPAddress to test.

Return Value

Type: Boolean
true if address is a local IP 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).
Exceptions
ExceptionCondition
ArgumentNullExceptionaddress is .
Remarks
This local means NOT REMOTE for the current host.
See Also