Android Guides | Samples

Android.OS.Environment.DataDirectory Property

Return the user data directory.

Syntax

[get: Android.Runtime.Register("getDataDirectory", "()Ljava/io/File;", "GetGetDataDirectoryHandler")]
public static File DataDirectory { get; }

Remarks

Return the user data directory.

[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