S
S
Suil2020-07-27 15:46:03
System administration
Suil, 2020-07-27 15:46:03

How to prevent a program from running on Window if there is no Internet?

Good afternoon.
Tell me please. How to create a restriction on the launch of the program if there is no Internet connection.

That is, the program can only run when connected to the Internet. If the user tries to run the program without the Internet, it will display the message "Internet connection required".

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Satisfied IT, 2020-07-27
@Suil

If there is no source code for the program, then create a bat / cmd file, when you run it, first check for the presence of the Internet and, if it is, run the necessary software

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question