<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkInterfaceSetMediaOptions(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkInterfaceSetMediaOptions"
  },
  "title" : "SCNetworkInterfaceSetMediaOptions(_:_:_:)"
}
-->

# SCNetworkInterfaceSetMediaOptions(_:_:_:)

Sets the requested media subtype and options for the specified network interface.

```
func SCNetworkInterfaceSetMediaOptions(_ interface: SCNetworkInterface, _ subtype: CFString?, _ options: CFArray?) -> Bool
```

## Parameters

`interface`

The network interface.

`subtype`

The media subtype to set (for example, “autoselect” or “100baseTX”).

`options`

The media options to set (for example, “half-duplex” or “full-duplex”). If `NULL`, the active options are not returned.

## Return Value

`TRUE` if the configuration was updated; `FALSE` if an error occurred.

## 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)