fix test
fix .net2.0 build error
add KeyInfo serach method