Foundation.NSStream.SocketSecurityLevel Property
Controls the security protocol is used for the connection (none, SSL, TLS, negotiated).

Syntax

public NSStreamSocketSecurityLevel SocketSecurityLevel { get; set; }

Value

The default does not use any security protocols.

Remarks

This setting allows developers to configure which security protocol is used to transfer the data on the stream, from nothing, to a specific version of Transport Layer Security (TLS) to its predecessor Secure Socket Layer (SSL) or the best possible.

The recommended value is NSStreamSocketSecurityLevel.NegotiatedSsl which will pick the best available protocol between the client and the server.

Requirements

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