Function

CFNetDiagnosticSetName

Overrides the displayed application name.

Declaration

void CFNetDiagnosticSetName(CFNetDiagnosticRef details, CFStringRef name);

Parameters

details

The network diagnostics object for which the application name is to be set.

name

Name that is to be set.

Discussion

Frameworks requiring that an application name be displayed to the user derive the application name from the bundle identifier of the currently running application, in that application’s localization. If you want to override the derived application name, use this function to set the name that is displayed.

Special Considerations

This function is thread safe as long as another thread does not alter the same CFNetDiagnosticRef at the same time.

See Also

Network Diagnostics

CFNetDiagnosticRef

An opaque reference representing a CFNetDiagnostic.

CFNetDiagnosticStatusValues

Constants for diagnostic status values.

Deprecated
CFNetDiagnosticCopyNetworkStatusPassively

Gets a network status value.

Deprecated
CFNetDiagnosticCreateWithStreams

Creates a network diagnostic object from a pair of CFStreams.

Deprecated
CFNetDiagnosticCreateWithURL

Creates a CFNetDiagnosticRef from a CFURLRef.

Deprecated
CFNetDiagnosticDiagnoseProblemInteractively

Opens a Network Diagnostics window.

Deprecated