I want to dynamically modify the following key:


[HKEY_LOCAL_MACHINE\Comm\ConnectionSharing\Servers\ Service]
"InternalName"="192.168......"


to an IP address that is computed at runtime. Reason is that I will
not know the proper IP address until sometime after the device(s) have
gone through a "device configuration" phase of theirs.
It seems that an adapter name does not work for this entry, only an IP
address.


The problem then is to have ICS/IpNat be "reloaded" or otherwsie
"rescan" this entry.


Anyone have any idea(s) how to go about this?


Thanks.


Mark