Dela via


LocalSocket.PeerCredentials Property

Definition

Retrieves the credentials of this socket's peer.

public virtual Android.Net.Credentials? PeerCredentials { [Android.Runtime.Register("getPeerCredentials", "()Landroid/net/Credentials;", "GetGetPeerCredentialsHandler")] get; }
[<get: Android.Runtime.Register("getPeerCredentials", "()Landroid/net/Credentials;", "GetGetPeerCredentialsHandler")>]
member this.PeerCredentials : Android.Net.Credentials

Property Value

non-null; peer credentials

Attributes

Exceptions

Remarks

Retrieves the credentials of this socket's peer. Only valid on connected sockets.

Java documentation for android.net.LocalSocket.getPeerCredentials().

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