[DllImport("ntdll.dll", SetLastError = true)] public static extern int NtSetSystemInformation( SYSTEM_INFORMATION_CLASS SystemInformationClass, IntPtr SystemInformation, uint SystemInformationLength );
Microsoft documentation: Link
Last updated 1 year ago