Пример #1
0
        private void GetLevelOneFromS2Click(object sender, EventArgs e)
        {
            var api = new S2API(S2APIUrl, S2APIUser, S2APIPassword, false);

            var text = api.GetAccessLevel("2").InnerXml;

            AssignView(text, null);
        }
Пример #2
0
        private void btnLevel1_Click(object sender, EventArgs e)
        {
            S2API api = new S2API("http://64.129.189.200/goforms/nbapi", "admin", "admin");

            txtOutput.Text = api.GetAccessLevel("2").InnerXml;
        }