iControl.Interfaces.initializeInterface C# (CSharp) Method

initializeInterface() private method

private initializeInterface ( System oInterface ) : void
oInterface System
return void
        private void initializeInterface(System.Web.Services.Protocols.SoapHttpClientProtocol 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;
            }
        }

Same methods

Interfaces::initializeInterface ( iControlInterface oInterface ) : void