void SetProxyCredentials( String userName, String password );
userName String - proxy user name. password String - proxy password.
HRESULT SetCredential( [in] BSTR bstrUserName, [in] BSTR bstrPassword );
bstrUserName BSTR - proxy user name. bstrPassword BSTR - proxy password.
Returns S_OK if successful, or an error value otherwise.
void SetProxyCredentials( const std::string& sUserName, const std::string& sPassword );
sUserName std::string - proxy user name. sPassword std::string - proxy password.
-