Answer the question
In order to leave comments, you need to log in
How to change ip on pc using C#?
I want to implement a mini C# program in which I could write the ip / mask / gateway that I need and then by pressing the "apply" button, these settings would be applied on the PC. In general, I want to learn how to give commands to the system through my self-written program, and so I decided to start with this question.
Answer the question
In order to leave comments, you need to log in
call the standard netsh utility , this will be the easiest way to solve almost any network-related task that can be solved in principle, even those that cannot be solved in the official gui
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question