Foundation.NSStream.Item Property
Sets a configuration key on the NSStream.

Syntax

This is the default property for this class.

public NSObject this [NSString key] { get; set; }

Parameters

key
The property to set on the NSStream.

Value

Remarks

The following is a list of possible keys that you can use, and the possible values to use

KeyPossible Values
NSStream.SocketSecurityLevelKey

The security level used by the SSL/TLS stack. It should be one of:

NSStream.SOCKSProxyConfigurationKey

Set to a dictionary of configuration information for a SOCKS proxy.

The list of possible values in this dictionary include:

NSStream.DataWrittenToMemoryStreamKeyValue is the NSData that is collecting data on the stream (get only).
NSStream.FileCurrentOffsetKeyNSNumber containing the position on the stream.
NSStream.NetworkServiceType

Type of service that the stream is providing, one of:

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0