none
SetIPConnectionMetric does not change the network metric value RRS feed

  • Question

  • Hi,

    I am trying to change the network metric value of my WIFI NIC: Intel 7260.

    According to MSDN, doing that with C# is possible using "SetIPConnectionMetric" from "Win32_NetworkAdapterConfiguration"

    When I run the proper code i can see the changes only after doing restart. However, when shooting the equivalent command line with netsh, the new metric is available instantly.

    Is it just a GUI bug (that I dont see the changes) or in order for the metric change to be applied using C# you need to add restart ?

    Thx in advance

    Wednesday, August 23, 2017 6:02 AM

All replies