---
title: "SCNetworkInterfaceForceConfigurationRefresh(_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkinterfaceforceconfigurationrefresh(_:)"
---

# SCNetworkInterfaceForceConfigurationRefresh(_:)

Sends a notification to interested network configuration agents to immediately retry their configuration.

## Declaration

```swift
func SCNetworkInterfaceForceConfigurationRefresh(_ interface: SCNetworkInterface) -> Bool
```

## Parameters

- `interface`: The desired network interface.

## Return Value

Return Value TRUE if the notification was sent; otherwise, FALSE.

## Discussion

Discussion Calling this function causes the DHCP client to contact the DHCP server immediately rather than waiting until its timeout has expired. The caller uses this function to inform the system that the network infrastructure or configuration has changed. Note that this function requires root privilege; alternatively, you can pass in an interface that is derived from a sequence of calls to: SCPreferencesCreateWithAuthorization(_:_:_:_:) The appropriate SCNetworkSetCopy... function, such as SCNetworkSetCopyServices(_:) SCNetworkServiceGetInterface(_:)

## See Also

### Configuring Network Interfaces

- [SCNetworkInterfaceCopyAll()](systemconfiguration/scnetworkinterfacecopyall().md)
- [SCNetworkInterfaceCopyMTU(_:_:_:_:)](systemconfiguration/scnetworkinterfacecopymtu(_:_:_:_:).md)
- [SCNetworkInterfaceCopyMediaOptions(_:_:_:_:_:)](systemconfiguration/scnetworkinterfacecopymediaoptions(_:_:_:_:_:).md)
- [SCNetworkInterfaceCopyMediaSubTypeOptions(_:_:)](systemconfiguration/scnetworkinterfacecopymediasubtypeoptions(_:_:).md)
- [SCNetworkInterfaceCopyMediaSubTypes(_:)](systemconfiguration/scnetworkinterfacecopymediasubtypes(_:).md)
- [SCNetworkInterfaceCreateWithInterface(_:_:)](systemconfiguration/scnetworkinterfacecreatewithinterface(_:_:).md)
- [SCNetworkInterfaceGetBSDName(_:)](systemconfiguration/scnetworkinterfacegetbsdname(_:).md)
- [SCNetworkInterfaceGetConfiguration(_:)](systemconfiguration/scnetworkinterfacegetconfiguration(_:).md)
- [SCNetworkInterfaceGetExtendedConfiguration(_:_:)](systemconfiguration/scnetworkinterfacegetextendedconfiguration(_:_:).md)
- [SCNetworkInterfaceGetHardwareAddressString(_:)](systemconfiguration/scnetworkinterfacegethardwareaddressstring(_:).md)
- [SCNetworkInterfaceGetInterface(_:)](systemconfiguration/scnetworkinterfacegetinterface(_:).md)
- [SCNetworkInterfaceGetInterfaceType(_:)](systemconfiguration/scnetworkinterfacegetinterfacetype(_:).md)
- [SCNetworkInterfaceGetLocalizedDisplayName(_:)](systemconfiguration/scnetworkinterfacegetlocalizeddisplayname(_:).md)
- [SCNetworkInterfaceGetSupportedInterfaceTypes(_:)](systemconfiguration/scnetworkinterfacegetsupportedinterfacetypes(_:).md)
- [SCNetworkInterfaceGetSupportedProtocolTypes(_:)](systemconfiguration/scnetworkinterfacegetsupportedprotocoltypes(_:).md)
