Edit

Share via


NSStream.Item[NSString] Property

Definition

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

KeyPossible 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:

Applies to