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.
I have already found WebClient.Download(URL, File)
but that means, that I have to save the file.
So does anyone know any other solution that could work for me?