I'm validating proxy credentials using WebRequest.DefaultWebProxy. After giving valid credentials when I'm using invalid credentials it also works fine. so it is not validating proxy credentials here.
here is my code.
Dim webProxy = New Net.WebProxy(Uri)
webProxy.Credentials = New Net.NetworkCredential("userName", "Password")
WebRequest.DefaultWebProxy = webProxy