I am trying to make it to where it will read the registry and report back if ProxyEnable is set to the value of 1. If it is, it replies back that the privacy is in risk, if not it says privacy is safe.
Here is my code. Any help with this would be much appreciated. Thanks!
Dim regkey2 As RegistryKey regkey2 = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings") Dim proxyEnabled As String proxyEnabled = regkey2.GetValue("ProxyEnable").ToString() MsgBox("Proxy server is enabled. Your privacy is at risk!")