We are developing a Windows service to be installed on client systems. This application periodically makes calls to a SOAP web service on our server. We are wanting to include the local IP address of the client system in the SOAP requests each time they hit our service for troubleshooting purposes. Looking through other posts on here, I've found the following code to get the list of IPs for the interfaces on a system:

```
IPAddress[] localIPs = Dns.GetHostAddresses(Dns.GetHostName());

```

This code is being included in the Windows service. Is there a simple way to determine which IP in this array is assigned to the interface over which the web service call is routed?