SecurityManager.CheckConnect 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.
Overloads
| Name | Description |
|---|---|
| CheckConnect(String, Int32) |
The Android base implementation does not check a network connection. |
| CheckConnect(String, Int32, Object) |
The Android base implementation does not check a network connection or its security context. |
CheckConnect(String, Int32)
The Android base implementation does not check a network connection.
[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 of the connection.
- port
- Int32
The port number.
- 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)
The Android base implementation does not check a network connection or its security context.
[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 of the connection.
- port
- Int32
The port number.
- context
- Object
The security context.
- 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.