如何在Windows Mobile上从C#中的文件获取修改日期? [英] How do I get modified date from file in C# on Windows Mobile?

查看:77
本文介绍了如何在Windows Mobile上从C#中的文件获取修改日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在PC中制作文件,我想将其传输到 PPC (< a href = https://en.wikipedia.org/wiki/Windows_Mobile rel = noreferrer> Windows Mobile )。

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?

(我在Windows Mobile上需要它。)

(I need it on Windows Mobile.)

推荐答案

FileInfo.LastWriteTime

FileInfo.LastWriteTimeUtc 应该注册此信息。

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

这篇关于如何在Windows Mobile上从C#中的文件获取修改日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆