File or folder properties

jenCarlos 141 Reputation points

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.

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

Accepted answer
  1. Castorix31 82,316 Reputation points

    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