I finally took a few minutes to look at this... as it turned out, I have not changed the GetIPOption() function, but instead added some functionality to EnumNetworkConnections to now allow you to not only get the Connection Name, but also the associated MACAddress and/or the Network Adapter Name.

Anyone willing to give this new code a shot on a remote computer?

Comments?

{Edit: Code Removed}