SSLParameters.SetApplicationProtocols(String[]) Method
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 the prioritized array of application-layer protocol names that can be negotiated over the SSL/TLS protocols.
[Android.Runtime.Register("setApplicationProtocols", "([Ljava/lang/String;)V", "GetSetApplicationProtocols_arrayLjava_lang_String_Handler", ApiSince=29)]
public virtual void SetApplicationProtocols (string[]? protocols);
[<Android.Runtime.Register("setApplicationProtocols", "([Ljava/lang/String;)V", "GetSetApplicationProtocols_arrayLjava_lang_String_Handler", ApiSince=29)>]
abstract member SetApplicationProtocols : string[] -> unit
override this.SetApplicationProtocols : string[] -> unit
Parameters
- protocols
- String[]
an ordered array of application protocols,
with protocols[0] being the most preferred.
If the array is empty (zero-length), protocol
indications will not be used.
- Attributes
Remarks
Java documentation for javax.net.ssl.SSLParameters.setApplicationProtocols(java.lang.String[]).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.