[DllImport("Advapi32.dll", SetLastError = true)] public static extern bool GetTokenInformation( IntPtr TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, IntPtr TokenInformation, uint TokenInformationLength, out uint ReturnLength );
Microsoft documentation: Link
Last updated 1 year ago