Exemple #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            S2API   api    = new S2API("http://64.129.189.200/goforms/nbapi", "admin", "admin");
            XmlNode nd     = api.GetPerson("0");
            string  imgURL = nd["PICTUREURL"].InnerText;

            txtOutput.Text = nd.InnerXml;
        }
Exemple #2
0
        private void GetPersonClick(object sender, EventArgs e)
        {
            var api = new S2API(S2APIUrl, S2APIUser, S2APIPassword, false);

            var nd     = api.GetPerson("0");
            var imgUrl = nd["PICTUREURL"].InnerText;

            var text = IndentXMLString(nd.OuterXml);

            AssignView(text, null);
        }