Hi I tried that :
String filepath = @"\\<server-name>\\<shared folder>\\test.txt";
I get the exception:
"Could not find file
'\\\\<server-name>\\<shared folder>\\test.txt'
UPDATE SM: When you put @, you don't use escape sequences! Read books please!
try:
String filepath = @"\\<server-name>\<shared folder>\test.txt";