---
title: Stream Properties
framework: corefoundation
role: collectionGroup
role_heading: API Collection
path: corefoundation/stream-properties
---

# Stream Properties

Stream property names that can be set or copied.

## Overview

Overview Use CFReadStreamCopyProperty(_:_:) or CFWriteStreamCopyProperty(_:_:) to read the property values. Use CFReadStreamSetProperty(_:_:_:) or CFWriteStreamSetProperty(_:_:_:) to set the property values.

## Topics

### Constants

- [appendToFile](corefoundation/cfstreampropertykey/appendtofile.md)
- [dataWritten](corefoundation/cfstreampropertykey/datawritten.md)
- [fileCurrentOffset](corefoundation/cfstreampropertykey/filecurrentoffset.md)
- [socketNativeHandle](corefoundation/cfstreampropertykey/socketnativehandle.md)
- [socketRemoteHostName](corefoundation/cfstreampropertykey/socketremotehostname.md)
- [socketRemotePortNumber](corefoundation/cfstreampropertykey/socketremoteportnumber.md)
- [kCFStreamPropertyShouldCloseNativeSocket](corefoundation/kcfstreampropertyshouldclosenativesocket.md)
- [kCFStreamPropertySocketSecurityLevel](corefoundation/kcfstreampropertysocketsecuritylevel.md)
- [kCFStreamPropertySSLPeerCertificates](cfnetwork/kcfstreampropertysslpeercertificates.md)
- [kCFStreamPropertySSLPeerTrust](cfnetwork/kcfstreampropertysslpeertrust.md)
- [kCFStreamPropertySSLSettings](cfnetwork/kcfstreampropertysslsettings.md)
- [kCFStreamPropertySSLContext](cfnetwork/kcfstreampropertysslcontext.md)
- [kCFStreamPropertySOCKSProxy](corefoundation/kcfstreampropertysocksproxy.md)
- [kCFStreamPropertyProxyLocalBypass](cfnetwork/kcfstreampropertyproxylocalbypass.md)
- [kCFStreamPropertySocketRemoteHost](cfnetwork/kcfstreampropertysocketremotehost.md)
- [kCFStreamPropertySocketRemoteNetService](cfnetwork/kcfstreampropertysocketremotenetservice.md)
- [kCFStreamNetworkServiceType](cfnetwork/kcfstreamnetworkservicetype.md)
- [kCFStreamPropertyConnectionIsCellular](cfnetwork/kcfstreampropertyconnectioniscellular.md)
- [kCFStreamPropertyNoCellular](cfnetwork/kcfstreampropertynocellular.md)

## See Also

### Constants

- [CFStreamStatus](corefoundation/cfstreamstatus.md)
- [CFStreamErrorDomain](corefoundation/cfstreamerrordomain.md)
- [CFStream Error Domain Constants (CFHost)](corefoundation/cfstream-error-domain-constants-cfhost.md)
- [Error Subdomains](corefoundation/error-subdomains.md)
- [Secure Sockets (SOCKS) Errors](cfnetwork/1518266-secure-sockets-socks-errors.md)
- [CFStreamEventType](corefoundation/cfstreameventtype.md)
- [CFStream Property SSL Settings Constants](corefoundation/cfstream-property-ssl-settings-constants.md)
- [CFStream Socket Security Level Constants](corefoundation/cfstream-socket-security-level-constants.md)
- [CFStream SOCKS Proxy Key Constants](corefoundation/cfstream-socks-proxy-key-constants.md)
- [Stream Service Types](corefoundation/stream-service-types.md)
