Download pdf programmatically

后端 未结 3 2090
闹比i
闹比i 2021-02-18 23:57

How can I download a PDF and store to disk using vb.NET or C#?

The URL (of the PDF) has some rediection going on before the final PDF is reached.

I tried the bel

3条回答
  •  有刺的猬
    2021-02-19 00:01

    How might you be able to use client.downloadfile when the URL is pointing a "showdocument.aspx" page.

    Example: https://gaming.nv.gov/modules/showdocument.aspx?documentid=246

提交回复
热议问题