How do I get modified date from file in C# on Windows Mobile?

Gold picture Gold · Jul 26, 2009 · Viewed 82.6k times · Source

I make a file in PC, and I want to transfer it to a PPC (Windows Mobile).

How can I get the modified date of this file?

(I need it on Windows Mobile.)

Answer

Steve Guidi picture Steve Guidi · Jul 26, 2009

FileInfo.LastWriteTime and FileInfo.LastWriteTimeUtc should register this information.