15 lines
316 B
C#
15 lines
316 B
C#
|
|
||
|
using System;
|
||
|
using System.IO;
|
||
|
using System.Runtime.CompilerServices;
|
||
|
using System.Runtime.InteropServices;
|
||
|
using Microsoft.Win32.SafeHandles;
|
||
|
|
||
|
namespace Microsoft.Win32
|
||
|
{
|
||
|
static class NativeMethods
|
||
|
{
|
||
|
[MethodImplAttribute (MethodImplOptions.InternalCall)]
|
||
|
public static extern int GetCurrentProcessId ();
|
||
|
}
|
||
|
}
|