在Windows中查找在线用户 [英] Finding Online User in Windows

查看:127
本文介绍了在Windows中查找在线用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想查找有多少用户正在使用我的Windows应用程序.是否有可能像在网络上一样?如果是,请给我一些参考或示例,以便我找到解决方法.

问候,
*已删除邮件*

I want to find how many users are using my windows application. Is it possible as it is in the web? If yes, then kindly give me some references or examples, so that I can find the solution.

Regards,
*REMOVED MAIL*

推荐答案

您的Windows应用程序的事件实例将是一个新实例,因此您需要将计数写入临时存储区中的某个地方(文本文件或数据库).然后,当用户登录/注销或关闭应用程序时,此计数将需要增加或减少.

Windows应用程序不支持会话对象.
Event instance of your windows application will be a new one, so you will need to write the count in a temporary store somewhere (text file or database). This count will then need to be incremented or decremented as the user logins / logsout or closes the application.

Windows applications do not support session objects.


这篇关于在Windows中查找在线用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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