GetFileInfo reading entire file ?

andycee

Member
Joined
Mar 24, 2006
Messages
11
Programming Experience
1-3
Is it just me, or does GetFileInfo read the entire file just to find its attributes ?

I'm seeing lengthy delays of a few seconds to use this.

cheers
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,604
Location
Norway
Programming Experience
10+
GetFileInfo is as fast as ever here, it is (should be) equivalent of:
VB.NET:
Dim finfo As New IO.FileInfo("filename")
 
Top Bottom