NSStream.SocketSecurityLevel 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.
Gets or sets the security protocol used for the connection (none, SSL, TLS, negotiated).
public Foundation.NSStreamSocketSecurityLevel SocketSecurityLevel { get; set; }
member this.SocketSecurityLevel : Foundation.NSStreamSocketSecurityLevel with get, set
Property 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 NegotiatedSsl which will pick the best available protocol between the client and the server.