I tried the below one
string path=txtPath.Text;
bool isExists=File.Exists(path);
it is working fine in my local system but when i am sharing with network it is returning fals
can you please suggest me what is the best way to validate path will work in all cases
thank you

Jaish MathewsRank #225 · 11K reputationPosted Aug 10, 2019, 11:09 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Aug 10, 2019, 10:27 PM EDT
Sonu GuptaRank #1,261 · 1.4K reputationPosted Aug 11, 2019, 10:55 PM EDT
Bidyasagar MishraRank #766 · 3K reputationPosted Aug 11, 2019, 11:00 PM EDT
Sivakumar KonetiRank #1,557 · 1K reputationPosted Aug 11, 2019, 11:02 PM EDT