IsLocal Method (IPEndPoint)

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Returns true if the IPEndPoint 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(
	IPEndPoint endpoint
)
Visual Basic
Public Shared Function IsLocal ( _
	endpoint As IPEndPoint _
) As Boolean
Visual C++
public:
static bool IsLocal(
	IPEndPoint^ endpoint
)

Parameters

endpoint
Type: System.Net..::..IPEndPoint

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

Return Value

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

See Also