---
title: CFHostGetTypeID()
framework: cfnetwork
role: symbol
role_heading: Function
path: cfnetwork/cfhostgettypeid()
---

# CFHostGetTypeID()

Gets the Core Foundation type identifier for the CFHost opaque type.

## Declaration

```swift
func CFHostGetTypeID() -> CFTypeID
```

## Return Value

Return Value The Core Foundation type identifier for the CFHost opaque type.

## Discussion

Discussion This function is thread safe.

## See Also

### Hosts

- [CFHost](cfnetwork/cfhost.md)
- [CFHostInfoType](cfnetwork/cfhostinfotype.md)
- [CFHostClientContext](cfnetwork/cfhostclientcontext.md)
- [CFHostCancelInfoResolution(_:_:)](cfnetwork/cfhostcancelinforesolution(_:_:).md)
- [CFHostCreateCopy(_:_:)](cfnetwork/cfhostcreatecopy(_:_:).md)
- [CFHostCreateWithAddress(_:_:)](cfnetwork/cfhostcreatewithaddress(_:_:).md)
- [CFHostCreateWithName(_:_:)](cfnetwork/cfhostcreatewithname(_:_:).md)
- [CFHostGetAddressing(_:_:)](cfnetwork/cfhostgetaddressing(_:_:).md)
- [CFHostGetNames(_:_:)](cfnetwork/cfhostgetnames(_:_:).md)
- [CFHostGetReachability(_:_:)](cfnetwork/cfhostgetreachability(_:_:).md)
- [CFHostScheduleWithRunLoop(_:_:_:)](cfnetwork/cfhostschedulewithrunloop(_:_:_:).md)
- [CFHostSetClient(_:_:_:)](cfnetwork/cfhostsetclient(_:_:_:).md)
- [CFHostStartInfoResolution(_:_:_:)](cfnetwork/cfhoststartinforesolution(_:_:_:).md)
- [CFHostUnscheduleFromRunLoop(_:_:_:)](cfnetwork/cfhostunschedulefromrunloop(_:_:_:).md)
