Android Guides | Samples

Android.OS.Environment.RootDirectory Property

Return root of the "system" partition holding the core Android OS.

Syntax

[get: Android.Runtime.Register("getRootDirectory", "()Ljava/io/File;", "GetGetRootDirectoryHandler")]
public static File RootDirectory { get; }

Remarks

Return root of the "system" partition holding the core Android OS. Always present and mounted read-only.

[Android Documentation]

Requirements

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