SecurityManager.CheckConnect Method

Definition

Overloads

CheckConnect(String, Int32)

[Android.Runtime.Register("checkConnect", "(Ljava/lang/String;I)V", "GetCheckConnect_Ljava_lang_String_IHandler")]
public virtual void CheckConnect(string? host, int port);
[<Android.Runtime.Register("checkConnect", "(Ljava/lang/String;I)V", "GetCheckConnect_Ljava_lang_String_IHandler")>]
abstract member CheckConnect : string * int -> unit
override this.CheckConnect : string * int -> unit

Parameters

host
String

The remote host whose access is being checked.

port
Int32

The network port whose access is being checked.

Attributes

Remarks

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

CheckConnect(String, Int32, Object)

[Android.Runtime.Register("checkConnect", "(Ljava/lang/String;ILjava/lang/Object;)V", "GetCheckConnect_Ljava_lang_String_ILjava_lang_Object_Handler")]
public virtual void CheckConnect(string? host, int port, Java.Lang.Object? context);
[<Android.Runtime.Register("checkConnect", "(Ljava/lang/String;ILjava/lang/Object;)V", "GetCheckConnect_Ljava_lang_String_ILjava_lang_Object_Handler")>]
abstract member CheckConnect : string * int * Java.Lang.Object -> unit
override this.CheckConnect : string * int * Java.Lang.Object -> unit

Parameters

host
String

The remote host whose access is being checked.

port
Int32

The network port whose access is being checked.

context
Object

The security context used for the access check.

Attributes

Remarks

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