12 writes to token
System.IdentityModel (12)
System\IdentityModel\SspiSafeHandles.cs (10)
237
inUnmanagedBuffer[index].
token
= securityBuffer.unmanagedToken.DangerousGetHandle();
241
inUnmanagedBuffer[index].
token
= IntPtr.Zero;
246
inUnmanagedBuffer[index].
token
= Marshal.UnsafeAddrOfPinnedArrayElement(securityBuffer.token, securityBuffer.offset);
260
outUnmanagedBuffer[0].
token
= IntPtr.Zero;
264
outUnmanagedBuffer[0].
token
= Marshal.UnsafeAddrOfPinnedArrayElement(outSecBuffer.token, outSecBuffer.offset);
517
inUnmanagedBuffer[index].
token
= securityBuffer.unmanagedToken.DangerousGetHandle();
521
inUnmanagedBuffer[index].
token
= IntPtr.Zero;
526
inUnmanagedBuffer[index].
token
= Marshal.UnsafeAddrOfPinnedArrayElement(securityBuffer.token, securityBuffer.offset);
541
outUnmanagedBuffer[0].
token
= IntPtr.Zero;
545
outUnmanagedBuffer[0].
token
= Marshal.UnsafeAddrOfPinnedArrayElement(outSecBuffer.token, outSecBuffer.offset);
System\IdentityModel\SspiWrapper.cs (2)
716
unmanagedBuffer[i].
token
= IntPtr.Zero;
721
unmanagedBuffer[i].
token
= Marshal.UnsafeAddrOfPinnedArrayElement(iBuffer.token, iBuffer.offset);
8 references to token
System.IdentityModel (8)
System\IdentityModel\SspiSafeHandles.cs (4)
300
Marshal.Copy(outUnmanagedBuffer[0].
token
, outSecBuffer.token, 0, outSecBuffer.size);
432
handleTemplate.Set(((SecurityBufferStruct*)outputBuffer.UnmanagedPointer)->
token
); //ATTN: on 64 BIT that is still +8 cause of 2* c++ unsigned long == 8 bytes
574
Marshal.Copy(outUnmanagedBuffer[0].
token
, outSecBuffer.token, 0, outSecBuffer.size);
700
handleTemplate.Set(((SecurityBufferStruct*)outputBuffer.UnmanagedPointer)->
token
); //ATTN: on 64 BIT that is still +8 cause of 2* c++ unsigned long == 8 bytes
System\IdentityModel\SspiWrapper.cs (4)
748
Marshal.Copy(unmanagedBuffer[i].
token
, iBuffer.token, 0, iBuffer.size);
762
if ((byte*)unmanagedBuffer[i].
token
>= bufferAddress &&
763
(byte*)unmanagedBuffer[i].
token
+ iBuffer.size <= bufferAddress + buffers[j].Length)
765
iBuffer.offset = (int)((byte*)unmanagedBuffer[i].
token
- bufferAddress);