Walter.Net.Networking
GetEndpoints Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > LocalNetwork Class : GetEndpoints Method
Start from
Destination till
Get the IP addresses between 2 points on the network
Syntax
public static ValueTuple<IPAddress,IPAddress> GetEndpoints( 
   Scope from,
   Scope to
)

Parameters

from
Start from
to
Destination till

Return Value

The 2 IP addresses that make up the 2 endpoints
Exceptions
ExceptionDescription
Will throw an exception if network not available
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LocalNetwork Class
LocalNetwork Members