Hi
How To Get Author Name and Resolution From Any input File
For Example *.gif,*.jpg,*.Doc,*.xls,*.ppt,*.txt,*.wmv need Code For This in C#...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
KarthikPosted Nov 10, 2009, 11:17 PM
Thanks For your Quick Reply...I need to Get right Clik Propeties Information .Especially get Autour And Resolution
Kirtan PatelPosted Nov 10, 2009, 11:40 AM
but you can get Following Information with
using System.IO;
FileInfo finfo = new FileInfo(@"E:\FTPTesting.exe");
string CreatonTime = finfo.CreationTime.ToString();
string LastAccess = finfo.LastAccessTime.ToString();
string LastWrite = finfo.LastWriteTime.ToString();
Sam HobbsPosted Nov 10, 2009, 10:55 AM
Not all files have properties such as that; a txt file usually has no properties. The properties that files do have depends on the type of files. The following will help you get the properties for most types.