<p>I have a web application project (wap) that is successfully being deployed to a development server by our tfsbuild server.</p>

<p>I'd like the build server to run our collection of webtests after deployment.</p>

<p>What is a best practice (or ANY practice) for doing this?</p>

You're almost there with your code. I agree with you, the MSDN is not quite explicit on what's inside that byte array, but here's what you can do :
```
```
IPAddress address = new IPAddress(_ClientIPAddress.Address.Skip(2).Take(4).ToArray());
```
```
The first two bytes do not seem to be used, but in the case of AF_INET (which is IPv4, or 2) the next four bytes are the IPv4 address of the client.
You might also want to make sure that your code will handle IPv6 (AF_INET6) properly, or handle the fact that AF_INET6 is a likely value. You'll probably need to read 16 bytes instead of 4 for this protocol.