<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: 10.1.0 -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/DHCPClientPreferencesSetApplicationOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@DHCPClientPreferencesSetApplicationOptions"
  },
  "title" : "DHCPClientPreferencesSetApplicationOptions"
}
-->

# DHCPClientPreferencesSetApplicationOptions

Updates the DHCP client preferences to include the specified list of options for the specified application ID.

```
Boolean DHCPClientPreferencesSetApplicationOptions(CFStringRef applicationID, const UInt8 *options, CFIndex count);
```

## Parameters

`applicationID`

The application’s preference ID (for example, “com.apple.SystemPreferences”).

`options`

An array of 8-bit values containing the DHCP option codes for the specified application ID (see RFC 2132 for more information on these codes). Pass `NULL` to clear the list of options for this application ID.

`count`

The number of elements in `options`.

## Return Value

`TRUE` if the operation succeeded; otherwise, `FALSE`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)