internal static uint gss_accept_sec_context( out uint minorStatus, ref IntPtr contextHandle, IntPtr acceptorCredHandle, ref GssBufferStruct inputToken, IntPtr channelBindings, out IntPtr sourceName, IntPtr mechType, out GssBufferStruct outputToken, out uint retFlags, out uint timeRec, IntPtr delegated) { return(RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? Environment.Is64BitProcess ? Win64.gss_accept_sec_context(out minorStatus, ref contextHandle, acceptorCredHandle, ref inputToken, channelBindings, out sourceName, mechType, out outputToken, out retFlags, out timeRec, delegated) : Win32.gss_accept_sec_context(out minorStatus, ref contextHandle, acceptorCredHandle, ref inputToken, channelBindings, out sourceName, mechType, out outputToken, out retFlags, out timeRec, delegated) : Linux.gss_accept_sec_context(out minorStatus, ref contextHandle, acceptorCredHandle, ref inputToken, channelBindings, out sourceName, mechType, out outputToken, out retFlags, out timeRec, delegated)); }