title: C# - Download PDF from URL and convert it into base64 without saving it on a server
body: <p>So basically what I want to do is to download a PDF file inside of a Web API from a URL I get as a parameter from the frontend and directly convert said file into a base64 string without saving the file on a file system.</p>
  
  <p>I have already found <code>WebClient.Download(URL, File)</code> but that means, that I have to save the file.</p>
  
  <p>So does anyone know any other solution that could work for me?</p>