将base64格式转换为字符串格式

将base64格式转换为字符串格式

问题描述:

大家好,
在我的Web应用程序中,我具有类似的功能

将base64形式转换为字符串形式

如果有人知道这个概念

帮帮忙.

感谢

Hi all,
In my web application i have a functionality like this

Convert base64 formate to string formate

if any one know this concept

help out this.

Thanks

阅读: ^ ]


results ="此处赋予base64甲酸值";

byte [] b = Convert.FromBase64String(results);
原始字符串= System.Text.Encoding.UTF8.GetString(b);

一切正常.
results="here give base64 formate value";

byte[] b = Convert.FromBase64String(results);
string original = System.Text.Encoding.UTF8.GetString(b);

it''s working fine.