internal static uint gss_acquire_cred_with_password( out uint minorStatus, IntPtr desiredName, ref GssBufferStruct password, uint timeRequired, ref GssOidSet desiredMechanisms, int credentialUsage, ref IntPtr credentialHandle, IntPtr actualMechs, out uint expiryTime) { return(RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? Environment.Is64BitProcess ? Win64.gss_acquire_cred_with_password(out minorStatus, desiredName, ref password, timeRequired, ref desiredMechanisms, credentialUsage, ref credentialHandle, actualMechs, out expiryTime) : Win32.gss_acquire_cred_with_password(out minorStatus, desiredName, ref password, timeRequired, ref desiredMechanisms, credentialUsage, ref credentialHandle, actualMechs, out expiryTime) : Linux.gss_acquire_cred_with_password(out minorStatus, desiredName, ref password, timeRequired, ref desiredMechanisms, credentialUsage, ref credentialHandle, actualMechs, out expiryTime)); }