如何使用c#访问其他计算机中的文件 [英] how to access files in other computer using c#
本文介绍了如何使用c#访问其他计算机中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用c#
解决方案
访问其他计算机中的文件以共享文件/文件夹以供另一台计算机访问。然后你访问下面的文件
var data = File.ReadAllText ( @ \\\\\\\\\\\\\\\\\\ ;
how to access files in other computer using c#
解决方案
share the file/folder to access by another computer. then you access file like below
var data = File.ReadAllText(@"\\server\path\filename.txt");
这篇关于如何使用c#访问其他计算机中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文