byte[]和string相互转换 //string转换为byte[]byte[] file = Convert.FromBase64String(string数据);//byte[]转换为stringConvert.ToBase64String(byte[])