[DllImport("Iphlpapi.dll", SetLastError = true)] public static extern int EnableRouter( ref IP_MIB_SET_INPUT_DATA pInputData );
Microsoft documentation: Link
Last updated 1 year ago