private void Config() { object o; INSNetSourceCreator nsc; ClientNetManager cnm = new ClientNetManager(); nsc = cnm as INSNetSourceCreator; nsc.Initialize(); nsc.GetNetSourceAdminInterface("http", out o); m_ian = o as IWMSInternalAdminNetSource; nsc.Shutdown(); }
public void DoTests() { object o; Config(); m_nsc.Initialize(); m_nsc.GetNetSourceAdminInterface("http", out o); IWMSInternalAdminNetSource ians = o as IWMSInternalAdminNetSource; Debug.Assert(ians != null); m_nsc.Shutdown(); }