Does File.Copy() from a network share to another share on the same machine copy the file over the network?

前端 未结 5 1066
时光取名叫无心
时光取名叫无心 2021-01-11 13:12

If my .NET client uses System.IO.File.Copy to copy a file from \\server1\\share1\\file1.txt to \\sever1\\share2\\file2.txt

5条回答
  •  萌比男神i
    2021-01-11 14:04

    That is an excellent question - I can't seem to find any definitive answer so perhaps the best thing would be to fire up Wireshark for a test.

提交回复
热议问题