📜  将流转换为base64字符串c#代码示例

📅  最后修改于: 2022-03-11 14:49:01.579000             🧑  作者: Mango

代码示例2
You can also encode bytes to Base64. How to get this from a stream see here: How to convert an Stream into a byte[] in C#?

Or I think it should be also possible to use the .ToString() method and encode this.