/// <summary>
/// 程序第一次运行的时间
/// </summary>
int nFirstTimes;
/// <summary>
/// 系统运行毫秒数
/// </summary>
int nComputerTime = 0;
/// <summary>
/// 程序运行毫秒数
/// </summary>
int nApplicationTime = 0;
/// <summary>
/// 系统运行小时数
/// </summary>
int nChours = 0;
/// <summary>
/// 系统运行分钟数
/// </summary>
int nCMineutes = 0;
/// <summary>
/// 系统运行秒数
/// </summary>
int nCseconds = 0;
/// <summary>
/// 程序运行小时数
/// </summary>
int nAhours
C#读取系统和程序时间
最新推荐文章于 2022-12-23 16:02:50 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)