Home > Net >  If c # write a Windows program?
If c # write a Windows program?

Time:09-19

Everyone a great god, and I'm c # beginners, want to ask a few questions, what can write on the c # in the Windows system tool?
I am referring to the tool is to control the Windows, such as some system configuration Settings,
For example:
1. Move my document and desktop to D plate or other partition,
2. Close the firewall,
In fact, I just want to know, who can operate on the interface of system setup how to use c # to do, so that you can make some system automatically set,

CodePudding user response:

If do operations management, itself has a shell way,
To write their own program, no matter what kind of language, are still call system of the command line, close the firewall is to perform the NetSh Advfirewall set allprofiles state off, in c # class invokes the Process inside can

CodePudding user response:

In theory, in addition to pure kernel mode driver no other can, can make COM components, can make user mode driver, can make input method, can customize the desktop, can modify the user login interface, can do the disk management, etc.

Of course, if it is not limited to the Windows platform, but also can do the mobile end android and iOS applications, server applications, games, and embedded application, etc.

Please see from scratch with dotnet do the whole development of stack

CodePudding user response:

You said that, to invoke the command line or batch can achieve
Process. Start to understand, the specific command, you can Google

CodePudding user response:

Change from one,
C # or c + +, VB is call API function set to implement some Windows functions of operations management,
  •  Tags:  
  • C#
  • Related