FileInfo doesn't work with UNC path well# DotNet - 窗口里的风景
c*t
1 楼
Couldn't get Length, creationTime and etc.
For an example: FileInfo fi = new FileInfo(@"\\shareName\file.txt");
fi.creationTime will yield IOException
For an example: FileInfo fi = new FileInfo(@"\\shareName\file.txt");
fi.creationTime will yield IOException