C#将xml文件从资源复制到磁盘

时间:2015-08-11 18:57:56

标签: c#

我尝试了File.WriteAllBytes和其他一些我只想将资源中的xml文件复制到磁盘上找到它。

1 个答案:

答案 0 :(得分:0)

System.IO.File.Copy(fromPath, toPath, true)

这假设您可以访问两个文件路径