# EnableRouter

```csharp
[DllImport("Iphlpapi.dll", SetLastError = true)]
public static extern int EnableRouter(
   ref IP_MIB_SET_INPUT_DATA pInputData
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-enablerouter)
