Download from URL Sample
In this sample, we will download a PDF file from the web through its URL.

Note: this function doesn't rely on PDF Sharp's components and it's a generic function, you can use it with whatever file type you want. Just note that any and all content validation needs to be made by the user/developer.
Click here to see your activities