I need to show file details in a GridView for my web application. Also I need to list them in uploaded date order with most recent on top (descending order). For example I need the following details.
FileName | Extension | UploadedDate | LastDownloadedDate
I couldn't find any code on the web. Sorry, this could be easy but I only know how to get the files into a strying array. Here I get only filenames
String[] files = Directory.GetFiles("myPath");
How do I get the rest of the details?
Thanks !