You can read this via registry at HKCU\Network or via WMI.
_________________________
There are two types of vessels, submarines and targets.