[DllImport("kernel32.dll", SetLastError = true, CallingConvention = CallingConvention.Winapi)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool IsWow64Process([In] IntPtr hProcess, [Out] out bool lpSystemInfo);
public bool Is64Bit()
{
bool retVal;
IsWow64Process(Process.GetCurrentProcess().Handle, out retVal);
return retVal;
}
Kategorien
-
Neueste Beiträge
- Wissensmanagement
- [CSS] Farbschemen
- [CSS] Frameworks
- [ABAP] SPRO-Customizing – Anzeigen und Ändern eines Projektplans
- Software-Alternativen
- [SVG] SVG-Viewer und Editoren
- [SVG] SVG-Icon-Bibliotheken
- [CSS] Themes: Farbauswahl
- [TypeScript] Projekt im Visual Studio Code mit React, Typescript und Vite erstellen
- [ABAP] SALV: Events abfangen beim Klick auf die ALV Funktions-Buttons am Beispiel Filter-Setzen