如何获得最后的开始时间为ASP.NET应用程序?时间为、如何获得、应用程序、ASP

2023-09-04 01:08:57 作者:給我一個理由忘記

如何获得最后一次当前ASP.NET应用程序已启动?

How to get the last time the current ASP.NET app was initiated?

推荐答案

嗯,我想,创建一个静态类静态consructor分配属性 DateTime.Now

well I guess,create a static class with a static consructor assigning a property to DateTime.Now.