Process.MyPid Method
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.
Returns the identifier of this process, which can be used with
#killProcess
and #sendSignal
.
[Android.Runtime.Register("myPid", "()I", "")]
public static int MyPid ();
[<Android.Runtime.Register("myPid", "()I", "")>]
static member MyPid : unit -> int
Returns
- Attributes
Remarks
Returns the identifier of this process, which can be used with #killProcess
and #sendSignal
.
Java documentation for android.os.Process.myPid()
.
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.