13 references to Secur32
System.DirectoryServices (13)
_generated\0\LibraryImports.g.cs (7)
1374internal static partial uint LsaCallAuthenticationPackage(global::Interop.Secur32.LsaLogonProcessSafeHandle lsaHandle, int authenticationPackage, in global::Interop.Secur32.NegotiateCallerNameRequest protocolSubmitBuffer, int submitBufferLength, out nint protocolReturnBuffer, out int returnBufferLength, out uint protocolStatus) 1382global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Interop.Secur32.LsaLogonProcessSafeHandle>.ManagedToUnmanagedIn __lsaHandle_native__marshaller = new(); 1391fixed (global::Interop.Secur32.NegotiateCallerNameRequest* __protocolSubmitBuffer_native = &protocolSubmitBuffer) 1407static extern unsafe uint __PInvoke(nint __lsaHandle_native, int __authenticationPackage_native, global::Interop.Secur32.NegotiateCallerNameRequest* __protocolSubmitBuffer_native, int __submitBufferLength_native, nint* __protocolReturnBuffer_native, int* __returnBufferLength_native, uint* __protocolStatus_native); 1417internal static partial uint LsaConnectUntrusted(out global::Interop.Secur32.LsaLogonProcessSafeHandle lsaHandle) 1424global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Interop.Secur32.LsaLogonProcessSafeHandle>.ManagedToUnmanagedOut __lsaHandle_native__marshaller = new();
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (6)
551Interop.Secur32.NegotiateCallerNameRequest requestBuffer = default; 552int requestBufferLength = sizeof(Interop.Secur32.NegotiateCallerNameRequest); 560Interop.Secur32.LsaLogonProcessSafeHandle lsaHandle; 565result = Interop.Secur32.LsaConnectUntrusted(out lsaHandle); 574result = Interop.Secur32.LsaCallAuthenticationPackage(lsaHandle, 0, requestBuffer, requestBufferLength, out pResponseBuffer, out responseBufferLength, out protocolStatus); 618Interop.Secur32.LsaFreeReturnBuffer(pResponseBuffer);