日期:2014-05-18 浏览次数:21148 次
byte[] ss = File.ReadAllBytes("E:\\Users\\Administrator\\Desktop\\测试.wma");
System.IO.StreamWriter sw = new System.IO.StreamWriter("path"); System.IO.BinaryWriter bw = new System.IO.BinaryWriter(sw,System.Text.Encoding.UTF8); bw.Write("你的数据"); bw.Close(); sw.Close();
------解决方案--------------------
File.WriteAllBytes(...)
------解决方案--------------------