Parsing windows 'ipconfig /all' output

前端 未结 3 689
天命终不由人
天命终不由人 2021-01-27 03:40

I am having a bit of trouble parsing the output of \'ipconfig /all\' using a regex. Currently I am using RegexBuddy for testing, but I want to use the regex in C#.NET.

M

3条回答
  •  星月不相逢
    2021-01-27 04:42

    Surely you can get all this information by using NetworkInterface.GetAllNetworkInterfaces()

提交回复
热议问题