In my VB.Net I am using the property
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
When I try to print the credentials to see my default credentials :
Console.WriteLine(rs.Credentials)
I get the output : "System.Net.SystemNetworkCredential"
. But I would like to see the 'username' and 'password'. Could anyone tell me on how I can see the username and password ?