如何从C#中的文件修改日期? [英] How do I get modified date from file in C#?
本文介绍了如何从C#中的文件修改日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何获取此文件的修改日期?
(我需要在Windows Mobile上。)
解决方案
FileInfo.LastWriteTime
和
FileInfo.LastWriteTimeUtc
应该注册此信息。
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.)
解决方案
FileInfo.LastWriteTime
and
FileInfo.LastWriteTimeUtc
should register this information.
这篇关于如何从C#中的文件修改日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文