Kot*_*tan 2 .net c# resources
我有一些嵌入资源的文件.如何通过C#将这些文件保存在磁盘上?
Ayk*_*vik 6
这应该做你的工作:
string strTempFile = Path.GetTempFileName(); File.WriteAllBytes(strTempFile, Properties.Resources.YourBinaryFileInResource);
请确保包含文件的FileType设置为"binary".
归档时间:
15 年,4 月 前
查看次数:
4374 次
最近记录: