Convert pdf file URL to base64
I want to convert the PDF file to base64. Iam having the URL of the PDF file. How to read the file url and convert it to base64 using jquery or javascript.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jose HernandezRank #2,683 · 519 reputationPosted Mar 5, 2021, 1:16 AM EST
Byte[] bytes = File.ReadAllBytes("path/url");