Java.Security.Permission.CheckGuard Method
Checks whether access to the specified Object should be granted.

Syntax

[Android.Runtime.Register("checkGuard", "(Ljava/lang/Object;)V", "GetCheckGuard_Ljava_lang_Object_Handler")]
public virtual void CheckGuard (Java.Lang.Object obj)

Parameters

obj
the object to be protected by this Guard.

Exceptions

TypeReason
Java.Lang.SecurityException

Remarks

Checks whether access to the specified Object should be granted. This method returns silently if access is granted, otherwise a SecurityException is thrown.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1