How to create a list of locked programs in C#?

Asked

Viewed 81 times

-1

I want that when selecting one of the programs from the list of programs installed in Windows, it can be blocked. I want to stop them from being opened, in case, with a password.

For example, select, click lock, and add a password to connect to the blocked program.

Here’s an example of what I want to do, actually, is something similar to the parental control function, to define which programs can be run:

Esse é o exemplo do que eu quero fazer.

I thought of listing the programs in a listbox, and when selecting the program, it search for the process, so that it can be blocked. Does anyone have any tips?

  • 3

    Hi, Wesley, when the staff asks for more information in the comments, your job is [Dit] the question to add details. Then just notify the person using the arroba @fulano atualizei a pergunta

  • @Sorry, I didn’t know. First question here. In fact, I created the account in order to ask this question because I have little time to solve it. But thank you.

1 answer

2

You can start solving your problem in parts. This link shows how to list the programs installed in windows -> http://www.c-sharpcorner.com/blogs/get-list-of-installed-software-in-local-machine-using-c-sharp-code1.

2 Try to figure out how to get a software that is being initialized->https://stackoverflow.com/questions/1284674/how-do-i-stop-an-application-from-opening

3 List the software that is on your list with the ones that are being initialized. Listing the software you want to be blocked is very easy and there are several tutorials that explain this (It’s the basics)

Finally, try to do it in parts. What I just showed you is a part of several ways to solve the same problem. Another thing try to search in English only search results will be surprising.

I hope I gave an idea to start your project!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.