Instance Property

isEnabled

The status of a DNS proxy.

Declaration

var isEnabled: Bool { get set }

Discussion

Only one DNS proxy can be active in the system at a time. Therefore, setting this property to true disables any DNS proxy configurations of other apps. Similarly, the system sets this property to false when any other DNS proxy configuration is enabled.

See Also

Accessing DNS Proxy Configuration Properties

var providerProtocol: NEDNSProxyProviderProtocol?

The provider-specific portion of the DNS proxy configuration.

var localizedDescription: String?

A description of the DNS proxy.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software