Take a look at the System.IO.File class.
File.GetAttributes("myfile.txt");
File.GetCreationTime("myfile.txt");
>Good morning DotNetters!
>
>Is there a way to get the properties of a file? Like when we right click on a file and select PROPERTIES from the menu all the available properties and values of the file are displayed. Is there a way to access these properties from .NET?
>
>The scenario is that I have a control on a form which displays the list of files on the current directory. When a user clicks on a file the properties are (suppose to be) displayed to the user.
>
>Any ideas on how this can be achieved?
>
>Thanx! in advance 8)
>
>Martin
Hector Correa