ToBase64String() method to get the Base64 string: byte[] pdfBytes = File.ReadAllBytes(pdfPath); string pdfBase64 = Convert.
確定! 回上一頁