This isn't rocket science to most, but I had a hard time figuring out how to read a PDF via URL and saving it to disk. You can use the PDFBox dll for this, but for those who want to use pure .NET, here's some code:
Code:
The namespaces: using System.Text; using System.IO;
Code:
//sends the request, converts response to s stream HttpWebRequest webRequest = (HttpWebRequest)