Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
コード例 #1
0
        //-------------------------------------------------------------------
        // private methods
        //-------------------------------------------------------------------
        private void initializeInterface(iControlInterface oInterface)
        {
            String url = (null == m_authToken) ? m_ci.buildURL() : m_ci.buildURLwToken(m_emIPAddress, m_authToken);
            oInterface.Url = url;
            oInterface.Credentials = m_ci.creds;
            oInterface.PreAuthenticate = true;

            if (null != m_proxyServer)
            {
                oInterface.Proxy = m_proxyServer;
            }

            oInterface.interfaces = this;
        }