解决方法
System.IO.File.ReadAllBytes
- System.Convert.ToBase64String(System.IO.File.ReadAllBytes(filePath));
- System.Convert.ToBase64String(System.IO.File.ReadAllBytes(filePath));