0

I am trying to make a program easy enough my co-workers can use it. The program takes the inputted image ID number, adds it to the static link, and downloads the image. The problem is to get the image ID you have to view the pages source code. Is there a way I can have it so I input the document number / link and it automatically gets the image source from the webpage's source?

If you need to look at an example, here is a random example document: http://ori2.polk-county.net/wb_or1/details.asp?doc_id=7029941&file_num=2008093164

Also, I am using C#

4

1 回答 1

0

假设你的文档都是通过同一个 URL 访问的。http://ori2.polk-county.net/wb_or1/details.asp

您可以使用 WebRequest 类来发布您的 doc_id 和 file_num。然后,您应该在响应中收到图像。

这是一个很好的起点

于 2012-07-27T06:50:41.297 回答