[DllImport("Advapi32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.U4)] public static extern uint RegDeleteKeyEx( IntPtr hKey, string lpSubKey, uint samDesired, uint Reserved );
Microsoft documentation: Link
Last updated 1 year ago