IsLocal Method (IPAddress)

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Returns true if the IPAddress supplied is on the same subnet as this host

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public static bool IsLocal(
	IPAddress remote
)
Visual Basic
Public Shared Function IsLocal ( _
	remote As IPAddress _
) As Boolean
Visual C++
public:
static bool IsLocal(
	IPAddress^ remote
)

Parameters

remote
Type: System.Net..::..IPAddress

[Missing <param name="remote"/> documentation for "M:Lidgren.Network.NetUtility.IsLocal(System.Net.IPAddress)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetUtility.IsLocal(System.Net.IPAddress)"]

See Also