You can use WebClient.DownloadDatathat has a default byte array value. eg.
byte[] bytes = myClient.DownloadData("https://www.member-data.com/files/hb/c8955fc4d6160ec0fd87f4879c6496d3.pdf");
In addition, it is assumed that you want the actual file to be in an array of bytes, and not in the contents (text) of the PDF. This is a whole different wax.
source
share