Ejemplo n.º 1
0
        public void SetProxyCredentials([NotNull] string user, [NotNull] SecureString password)
        {
            var userDomain = UserDomain.Parse(user);

            proxyCredential = new NetworkCredential(userDomain.User, SecureStringToString(password), userDomain.Domain);
        }