桌面监控和库存系统C# [英] Desktop monitoring and inventory system C#

查看:193
本文介绍了桌面监控和库存系统C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,有人知道如何创建已安装在计算机中的程序列表并将其发送到数据库吗?如果有变化,它会更新,你会知道是否有人使用电脑?



我是初学者。



我尝试了什么:



我尝试研究但很难找到一些代码^ _ ^。

hello, does someone know how to create a list of program that already installed in the computer and send it to the Database? and it will update if there's changes and you will know if someone using the computer?

I am a beginner.

What I have tried:

I've try to research but hard to find some code ^_^.

推荐答案

开发不是试图找到一些代码 - 它是关于从可用工具创建代码。



虽然这不是我推荐给初学者的工作 - 这里有很多复杂的问题,从数据库开始并开始工作 - 如果你做一些阅读,你可能会解决它。可能会带你一段时间......

如何将SQL数据库连接到您的C#程序,初学者的教程 [ ^ ]

获取C#中系统的已安装应用程序列表 [ ^ ]

他们会给你基础知识,但他们不会告诉你有人在使用电脑 - 因为你需要坐下来认真思考使用电脑对你意味着什么。
Development isn't about trying to "find some code" - it's about creating that code from the available tools.

And while this isn't a job I'd recommend for a beginner - there are a lot of complexities here, starting with the Database and working up - if you do some reading you may be able to work it out. Probably going to take you a while though...
How to connect SQL Database to your C# program, beginner's tutorial[^]
Get List of Installed Applications of System in C#[^]
They will give you the basics, but they won't tell you if "someone is using the computer" - for that you need to sit down and think good and hard about what "using the computer" means to you.


我认为这篇文章是一个很好的起点:获取C#中系统的已安装应用程序列表 [ ^ ]

你必须自己做的数据库,如果你之前从未使用过 SQL Server ,那可能有点太陡了,SQL Server并不适合从数据库开始。

就我个人而言,我更喜欢使用 PostgreSQL 和C#的 NpgSql 驱动程序。

这是一篇关于PostgreSQL的文章,有点过时了:在C#(.NET)应用程序中使用PostgreSQL(介绍) [ ^ ]
I think this article is a good starting point: Get List of Installed Applications of System in C#[^]
The database thingy you will have to do yourself, if you have never used SQL Server before this might be a bit too steep, SQL Server is not exactly suited for beginning with databases.
Personally I prefer using PostgreSQL with the NpgSql driver for C#.
Here is an article about PostgreSQL, bit dated sadly: Using PostgreSQL in your C# (.NET) application (An introduction)[^]


这篇关于桌面监控和库存系统C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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