Exemple #1
0
        internal void AddAuthenticatedProyCredentialCache()
        {
            MyProxyInfo myProxyInfo = new MyProxyInfo(MyProxyInfo.NEOTUNNEL_SAVE_TXT);
            String      username    = myProxyInfo.ProxyUsername;
            String      password    = myProxyInfo.ProxyPassword;

            CredentialCache.DefaultNetworkCredentials.UserName = username;
            CredentialCache.DefaultNetworkCredentials.Password = password;

            AceQLConnection.SetDefaultWebProxy(WebRequest.GetSystemWebProxy());
            connectionString += $"UseCredentialCache=True;";
        }