2011-02-25 108 views
1

從ashx的網址,以獲取圖像,我想用華廷有誰能夠告訴我如何獲得圖像得到ashx的URL中的圖像使用華廷API使用華廷

http://www.nmlsconsumeraccess.org/EntityDetails.aspx/COMPANY/76986 這是鏈接 當你打開這個鏈接存在驗證碼圖片哪個url是ashx。

代碼

IE ie = new IE(); 
ie.GoTo("http://www.nmlsconsumeraccess.org/EntityDetails.aspx/COMPANY/76986"); 
ie.WaitForComplete(); 

Image img = ie.Image(Find.ById("turingImage")); 

img. ???? 

我想救了驗證環節圖像

回答

0

使用IE開發商工具欄找到你,你需要的屬性,把我的頭頂部這將是img.src或IMG。 url

儘管Captcha的重點在於停止自動化,所以您應該讓開發人員部署一個沒有啓用的測試版本。