public bool TestLH() { bool rtn = false; StringBuilder buf = new StringBuilder(1024); AgentDll.btn_check_lhand_band(buf); string txt = buf.ToString(); if (txt == "LHAND_OK") { rtn = true; } return(rtn); }