G
Guest
We randomly get an error "System.ArgumentException: Invalid token for
impersonation - it cannot be duplicated" when executing
IntPtr logonToken= WindowsIdentity.GetCurrent().Token;
WindowsIdentity windowsIdentity = new WindowsIdentity(logonToken);
impersonation - it cannot be duplicated" when executing
IntPtr logonToken= WindowsIdentity.GetCurrent().Token;
WindowsIdentity windowsIdentity = new WindowsIdentity(logonToken);