NSStream.Item[NSString] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a configuration key on the NSStream.
public Foundation.NSObject this[Foundation.NSString key] { get; set; }
member this.Item(Foundation.NSString) : Foundation.NSObject with get, set
Parameters
- key
- NSString
The property to set on the NSStream.
Property Value
Remarks
The following is a list of possible keys that you can use, and the possible values to use
Key | Possible Values |
---|---|
SocketSecurityLevelKey | The security level used by the SSL/TLS stack. It should be one of:
|
SocksProxyConfigurationKey | Set to a dictionary of configuration information for a SOCKS proxy. The list of possible values in this dictionary include:
|
DataWrittenToMemoryStreamKey | Value is the NSData that is collecting data on the stream (get only). |
FileCurrentOffsetKey | NSNumber containing the position on the stream. |
NetworkServiceType | Type of service that the stream is providing, one of:
|