File or folder properties

jenCarlos 141 Reputation points
2022-03-27T02:42:37.573+00:00

Hello...
Is there a way to get its properties of a folder or file, using IShellFolder or IShellFolder2, like name, date modified, type, size?
Similar to Windows 7 Explorer.
I hope you can help me with an example.
Thanks.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,668 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 83,206 Reputation points
    2022-03-27T06:30:03.597+00:00

    Most of infos can be got with FileInfo Class
    For directory size, you can see this thread for different methods :
    Fastest way to get size of a directory including all files and sub folders

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful