程序运行了多少次?C# [英] How many times program has run? C#

查看:24
本文介绍了程序运行了多少次?C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在不保留文件和计数的情况下获得程序以前在 C# 中运行的次数.如果不能这样,可以从计划任务管理器中获取吗?

How can I get the number of times a program has previously run in C# without keeping a file and tallying. If it is not possible that way, can it be gotten from the Scheduled Task Manager?

致 C. Ross:如何在注册表设置中完成此操作?原谅我...什么是注册表设置?

推荐答案

据我所知,Windows 不会为您保留此信息.您必须在某处(文件、数据库、注册表设置)计算该值.Windows 任务计划程序的功能非常低.

To the best of my knowledge Windows does not keep this information for you. You would have to tally the value somewhere (file, database, registry setting). The Windows Task Scheduler is very low functionality.

这篇关于程序运行了多少次?C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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