Android.OS.Process.MyUid Method
Returns the identifier of this process's uid.

Syntax

[Android.Runtime.Register("myUid", "()I", "")]
public static int MyUid ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the identifier of this process's uid. This is the kernel uid that the process is running under, which is the identity of its app-specific sandbox. It is different from Process.MyUserHandle in that a uid identifies a specific app sandbox in a specific user.

[Android Documentation]

Requirements

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