Пример #1
0
 public override void Start()
 {
     K3p.K3pSetServerInfo ssi = new K3p.K3pSetServerInfo();
     WmK3pServerInfo.RegToServerInfo(KwmCfg.Cur, ssi.Info);
     K3p.kpp_lookup_rec_addr lra = new K3p.kpp_lookup_rec_addr();
     lra.AddrArray = EmailList.ToArray();
     m_kmodQuery   = new KmodQuery();
     m_kmodQuery.Submit(Wm.KmodBroker, new K3pCmd[] { ssi, lra }, HandleLookupRecAddrResult);
 }
Пример #2
0
        /// <summary>
        /// Submit the query using the credentials obtained from the registry
        /// specified.
        /// </summary>
        public void Submit(WmKmodBroker broker, KwmCfg cfg, WmLoginTicketQueryDelegate callback)
        {
            // Set the proper callback.
            Callback2 = callback;

            // Fill out the server information.
            K3p.K3pSetServerInfo ssi = new K3p.K3pSetServerInfo();
            WmK3pServerInfo.RegToServerInfo(cfg, ssi.Info);

            // Submit the query.
            base.Submit(broker, new K3pCmd[] { ssi, new K3p.kpp_get_kws_ticket() }, AnalyseResults);
        }