using System;
using System.Runtime.InteropServices;
public class Starter {
public static void Main() {
int hProcess = API.GetModuleHandleW(null);
}
}
public class API {
[DllImport("kernel32.dll", ExactSpelling = true)]
public static extern int GetModuleHandleW(string filename);
}