How to implement C # to allow services to interact with the desktop
This article introduces the knowledge of "how to implement C# to allow services to interact with the desktop". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Modify the registry when onstart
[HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ your service name] "Type" = dword:00000010 key value+256
For example, now 00000010 is 16 "256" 272.
16 refined is 00000110.
C # allows services to interact with the desktop: directly manipulating "services" under "management tools" is also possible:
This is the end of the content of "how to implement C# to allow services to interact with the desktop". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!