JavaSystem.SecurityManager Property
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.
Always returns null in Android -or- Throws SecurityException (except in case sm == null).
public static Java.Lang.SecurityManager? SecurityManager { [Android.Runtime.Register("getSecurityManager", "()Ljava/lang/SecurityManager;", "")] get; [Android.Runtime.Register("setSecurityManager", "(Ljava/lang/SecurityManager;)V", "")] set; }
[<get: Android.Runtime.Register("getSecurityManager", "()Ljava/lang/SecurityManager;", "")>]
[<set: Android.Runtime.Register("setSecurityManager", "(Ljava/lang/SecurityManager;)V", "")>]
member this.SecurityManager : Java.Lang.SecurityManager with get, set
Property Value
null in Android
- Attributes
Exceptions
always
always
always
always
always
always
Remarks
Property getter documentation:
Java documentation for java.lang.System.getSecurityManager().
Property setter documentation:
Java documentation for java.lang.System.setSecurityManager(java.lang.SecurityManager).
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.