字符串string 转换为 Base64String

Convert.ToBase64String(StringHelper.StringToBytes(str))

原文地址:https://www.cnblogs.com/changbaishan/p/12978965.html