柜台...... [英] counter......

查看:100
本文介绍了柜台......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Hi,

How can I have a counter for the program that removes the file with minimum access from hard disk?

推荐答案

对不起,我不明白这个问题.

System.IO命名空间包含文件对象,有一个方法GetLastAccessTime(...),那么您只知道一个文件的信息,但是没有计数器,该文件之前被访问过的频率.
Sorry, I don''t understand the question.

The System.IO namespace contains the file object, there is an method GetLastAccessTime(...), then you know this information for just one file, but afaik there is no counter, how often the file was accessed before.


这篇关于柜台......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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