The way I do it is to have a list of IP addresses in an INI file, using the MAC address of the interface as the key.

I get the MAC address of each interface, then use the dos NETSH command to apply the TCP parameters.