public bool TestLF() { bool rtn = false; StringBuilder buf = new StringBuilder(1024); AgentDll.btn_check_lfoot_band(buf); string txt = buf.ToString(); if (txt == "LFOOT_OK") { rtn = true; } return(rtn); }