예제 #1
0
        private IQ CreateIqRequest()
        {
            IQ iq = new IQ(doc);

            iq.To   = TO_JID;
            iq.From = FROM_JID;
            iq.Type = IQType.get;
            iq.ID   = TEST_ID;

            DiscoInfo info = new DiscoInfo(doc);

            info.SetAttribute("xmlns", URI.DISCO_INFO);
            iq.Query = info;

            return(iq);
        }
예제 #2
0
        private IQ CreateIqRequest()
        {
            IQ iq = new IQ(doc);
            iq.To = TO_JID;
            iq.From = FROM_JID;
            iq.Type = IQType.get;
            iq.ID = TEST_ID;

            DiscoInfo info = new DiscoInfo(doc);
            info.SetAttribute("xmlns", URI.DISCO_INFO);
            iq.Query = info;

            return iq;
        }