计算活跃用户实时c#应用程序 [英] Count active users real time c# application

查看:54
本文介绍了计算活跃用户实时c#应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这是我在这里发表的第一篇文章。

我有一个适用于Windows桌面用户的c#应用程序。我希望能够实时跟踪活跃用户。我将需要做什么?b $ b必须做什么?我以为我需要创建一个运行它的Windows服务.....



当我说活跃用户时我指的是已经安装了我的应用程序的用户并且没有卸载它。所以我认为我需要一个必须每10分钟调用一个URL的服务,并打电话给我的网站http://www.mywebsite.com/countactiveusers.php ...并能够检索到该号码在这之后使用php(我可以制作这部分)。

我没有很大的经验,我真的不知道如何启动它,所以我需要帮助如何启动应用程序,我不要不需要任何准备好的代码.....



有人可以帮我开始吗?

提前谢谢大家!

解决方案

我怀疑,这并不是我们特别想参与的任何事情。它有一种独特的恶意软件风格,特别是在没有明显理由的情况下 - 如果我发现我安装但未使用的东西已经添加了一个代码,可以在一天中不断地与网站通信,我可能会将其卸载 - 让Steam做类似的事情是不够的,没有你的应用程序做同样的事情,并将我知道的信息转移到我可能从未访问过的网站。



那么通过3G调制解调器连接的人呢?他们将每十分钟收费一次,可能会产生巨额费用!我怀疑他们会非常非常恼火你......



一个更好的方法是通过快速联系到网站计算安装(并检查更新)在同一时间)然后通过卸载程序计算卸载大致相同。每次运行确​​认安装状态的软件时,您也可以检查更新(可选择!)。它不会那么准确,但它也不会惹恼任何用户......


HI ...



我不确定..但这些链接可以帮助你



http://stackoverflow.com/questions/679251/tracking-anonymous-user-activity [ ^ ]



http://stackoverflow.com/questions/1171001/keeping-track-number-of-connected-用户到wcf服务 [ ^ ]





http://msdn.microsof t.com/en-us/library/jj131025.aspx [ ^ ]





快乐编码:)

:)

Hi,
This is my first post here.
I have a c# application for windows desktop users. I want to be able to track the active users in real time. What will i
have to do? I thought that i will need to create a windows service running to do it.....

When i say active users i mean the users that have installed my application and have not uninstalled it.So i think that i need a service that will must call a url every 10 minutes and call my website http://www.mywebsite.com/countactiveusers.php ... and be able to retrieve the number after this with php(i can make this part).
I have not big experience and i really don't how to start it , so i will need help on how to start the application, i don't need any ready code.....

Someone can help me to start this?
Thank you all in advance!

解决方案

That's not really anything we particularly want to be involved in, I suspect. It has a distinct flavour of malware, particularly when there is no obvious reason to do it - if I found that something I installed but wasn't using had added a ticker to talk to a website continually through the day, I would probably uninstall it - having Steam do something similar is bad enough, without your app doing the same, and transferring I-know-not-what information to a site I probably have never visited.

And what about people who connect through s 3G modem? They will get charged every ten minutes, potentially running up a huge bill! I suspect they will be very, very annoyed with you...

A much better approach is to count installation via a quick contact to the website (And check for updates at the same time) then count uninstallations via the uninstaller doing much the same. You can also check for updates (optionally, please!) once each time the software is run which confirms the installation status. It won't be as accurate, but it also won't annoy the heck out of any users...


HI...

I am not sure..but these links may help you

http://stackoverflow.com/questions/679251/tracking-anonymous-user-activity[^]

http://stackoverflow.com/questions/1171001/keeping-track-number-of-connected-users-to-wcf-service[^]


http://msdn.microsoft.com/en-us/library/jj131025.aspx[^]


Happy Coding :)
:)


这篇关于计算活跃用户实时c#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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