Sdílet prostřednictvím


SSLEngine.PeerHost Property

Definition

Returns the host name of the peer.

public virtual string? PeerHost { [Android.Runtime.Register("getPeerHost", "()Ljava/lang/String;", "GetGetPeerHostHandler")] get; }
[<get: Android.Runtime.Register("getPeerHost", "()Ljava/lang/String;", "GetGetPeerHostHandler")>]
member this.PeerHost : string

Property Value

the host name of the peer, or null if nothing is available.

Attributes

Remarks

Returns the host name of the peer.

Note that the value is not authenticated, and should not be relied upon.

Java documentation for javax.net.ssl.SSLEngine.getPeerHost().

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.

Applies to