This article is a mirror article of machine translation, please click here to jump to the original article.

View: 42383|Reply: 1

[Source] .NET/C# on to allow remote desktop access

[Copy link]
Posted on 2021-1-18 16:55:47 | | | |
Requirements: Use the .NET/C# code checkbox to allow remote connection to this computer, as shown in the following image:



I wrote code as a Windows service that monitors the settings of Remote Desktop at regular intervals, because I am afraid that some update or software will change this setting for me. Since it's not a local machine, it's quite troublesome for me to set it up once.


The principle is to read and modify the values of the registry, the code is as follows:



(End)




Previous:【Hangzhou】【Internal promotion】Top American companies, no overtime, treatment benchmark BAT. Java, C+...
Next:.NET/C# to get the CPU and memory usage of the specified process
 Landlord| Posted on 2021-1-18 16:56:49 |
.NET/C# Remote Desktop Management Tool [with source code]
https://www.itsvse.com/thread-9367-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com