Android.OS.UserManager.DisallowFactoryReset Field
Specifies if a user is disallowed from factory resetting from Settings.

Syntax

[Android.Runtime.Register("DISALLOW_FACTORY_RESET")]
public const string DisallowFactoryReset

See Also

UserManager.UserRestrictions
UserManager.UserRestrictions

Remarks

Specifies if a user is disallowed from factory resetting from Settings. This can only be set by device owners and profile owners on the primary user. The default value is false.

Key for user restrictions.

Type: Boolean

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17