Exemplo n.º 1
0
        public string cekLogin(string user, string pass)
        {
            string hasil = null;
            var    ws    = new inkaber.inkaberWS();

            hasil = ws.login(user, pass);
            return(hasil);
        }
Exemplo n.º 2
0
        public string invokeProd(string user, string pass, string file)
        {
            string hasil = null;
            string str   = File.ReadAllText(file);
            var    ws    = new inkaber.inkaberWS();

            try
            {
                hasil = ws.process("adminkomdn", "ediimdn", "produksi", str);
            }
            catch
            {
                hasil = "failed|Koneksi Gagal";
            }

            return(hasil);
        }