Java.Lang.JavaSystem.SecurityManager Property
Returns null.

Syntax

[get: Android.Runtime.Register("getSecurityManager", "()Ljava/lang/SecurityManager;", "GetGetSecurityManagerHandler")]
[set: Android.Runtime.Register("setSecurityManager", "(Ljava/lang/SecurityManager;)V", "GetSetSecurityManager_Ljava_lang_SecurityManager_Handler")]
public static SecurityManager SecurityManager { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.SecurityExceptionalways
Java.Lang.SecurityExceptionalways
Java.Lang.SecurityExceptionalways
Java.Lang.SecurityExceptionalways
Java.Lang.SecurityExceptionalways

Remarks

Get method documentation [Android Documentation]

Returns null. Android does not use SecurityManager. This method is only provided for source compatibility.

Set method documentation [Android Documentation]

Throws SecurityException. Security managers do not provide a secure environment for executing untrusted code and are unsupported on Android. Untrusted code cannot be safely isolated within a single VM on Android, so this method always throws a SecurityException.

Requirements

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