## Vanara.PInvoke.CredUI  
PInvoke API (methods, structures and constants) imported from Windows CredUI.dll.

- Includes methods from credui.dll  
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.CredUI?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.CredUI?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.CredUI)  
### Methods - 100% API coverage (14 of 14 functions)  
Native Method | Header | Managed Method  
--- | --- | ---  
[CredPackAuthenticationBuffer](https://www.google.com/search?num=5&q=CredPackAuthenticationBufferA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredPackAuthenticationBuffer](https://github.com/dahall/Vanara/search?l=C%23&q=CredPackAuthenticationBuffer)  
[CredUICmdLinePromptForCredentials](https://www.google.com/search?num=5&q=CredUICmdLinePromptForCredentialsA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredUICmdLinePromptForCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=CredUICmdLinePromptForCredentials)  
[CredUIConfirmCredentials](https://www.google.com/search?num=5&q=CredUIConfirmCredentialsA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredUIConfirmCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=CredUIConfirmCredentials)  
[CredUIParseUserName](https://www.google.com/search?num=5&q=CredUIParseUserNameA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredUIParseUserName](https://github.com/dahall/Vanara/search?l=C%23&q=CredUIParseUserName)  
[CredUIPromptForCredentials](https://www.google.com/search?num=5&q=CredUIPromptForCredentialsA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredUIPromptForCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=CredUIPromptForCredentials)  
[CredUIPromptForWindowsCredentials](https://www.google.com/search?num=5&q=CredUIPromptForWindowsCredentialsA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredUIPromptForWindowsCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=CredUIPromptForWindowsCredentials)  
[CredUIReadSSOCred](https://www.google.com/search?num=5&q=CredUIReadSSOCredA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredUIReadSSOCred](https://github.com/dahall/Vanara/search?l=C%23&q=CredUIReadSSOCred)  
[CredUIStoreSSOCred](https://www.google.com/search?num=5&q=CredUIStoreSSOCredA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredUIStoreSSOCred](https://github.com/dahall/Vanara/search?l=C%23&q=CredUIStoreSSOCred)  
[CredUnPackAuthenticationBuffer](https://www.google.com/search?num=5&q=CredUnPackAuthenticationBufferA+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredUnPackAuthenticationBuffer](https://github.com/dahall/Vanara/search?l=C%23&q=CredUnPackAuthenticationBuffer)  
[SspiGetCredUIContext](https://www.google.com/search?num=5&q=SspiGetCredUIContext+site%3Alearn.microsoft.com) | Sspi.h | [Vanara.PInvoke.CredUI.SspiGetCredUIContext](https://github.com/dahall/Vanara/search?l=C%23&q=SspiGetCredUIContext)  
[SspiIsPromptingNeeded](https://www.google.com/search?num=5&q=SspiIsPromptingNeeded+site%3Alearn.microsoft.com) | Sspi.h | [Vanara.PInvoke.CredUI.SspiIsPromptingNeeded](https://github.com/dahall/Vanara/search?l=C%23&q=SspiIsPromptingNeeded)  
[SspiPromptForCredentials](https://www.google.com/search?num=5&q=SspiPromptForCredentialsA+site%3Alearn.microsoft.com) | Sspi.h | [Vanara.PInvoke.CredUI.SspiPromptForCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=SspiPromptForCredentials)  
[SspiUnmarshalCredUIContext](https://www.google.com/search?num=5&q=SspiUnmarshalCredUIContext+site%3Alearn.microsoft.com) | Sspi.h | [Vanara.PInvoke.CredUI.SspiUnmarshalCredUIContext](https://github.com/dahall/Vanara/search?l=C%23&q=SspiUnmarshalCredUIContext)  
[SspiUpdateCredentials](https://www.google.com/search?num=5&q=SspiUpdateCredentials+site%3Alearn.microsoft.com) | Sspi.h | [Vanara.PInvoke.CredUI.SspiUpdateCredentials](https://github.com/dahall/Vanara/search?l=C%23&q=SspiUpdateCredentials)  
### Enumerations  
Native Enum | Header | Managed Enum  
--- | --- | ---  
[CredentialsDialogOptions](https://www.google.com/search?num=5&q=CredentialsDialogOptions+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CredentialsDialogOptions](https://github.com/dahall/Vanara/search?l=C%23&q=CredentialsDialogOptions)  
[CredPackFlags](https://www.google.com/search?num=5&q=CredPackFlags+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.CredUI.CredPackFlags](https://github.com/dahall/Vanara/search?l=C%23&q=CredPackFlags)  
[SSPIPFC](https://www.google.com/search?num=5&q=SSPIPFC+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.CredUI.SSPIPFC](https://github.com/dahall/Vanara/search?l=C%23&q=SSPIPFC)  
[WindowsCredentialsDialogOptions](https://www.google.com/search?num=5&q=WindowsCredentialsDialogOptions+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.WindowsCredentialsDialogOptions](https://github.com/dahall/Vanara/search?l=C%23&q=WindowsCredentialsDialogOptions)  
### Structures  
Native Structure | Header | Managed Structure  
--- | --- | ---  
[CREDUI_INFO](https://www.google.com/search?num=5&q=CREDUI_INFO+site%3Alearn.microsoft.com) | wincred.h | [Vanara.PInvoke.CredUI.CREDUI_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=CREDUI_INFO)  
[PSEC_WINNT_CREDUI_CONTEXT](https://www.google.com/search?num=5&q=PSEC_WINNT_CREDUI_CONTEXT+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.CredUI.PSEC_WINNT_CREDUI_CONTEXT](https://github.com/dahall/Vanara/search?l=C%23&q=PSEC_WINNT_CREDUI_CONTEXT)  
[PSEC_WINNT_CREDUI_CONTEXT_VECTOR](https://www.google.com/search?num=5&q=PSEC_WINNT_CREDUI_CONTEXT_VECTOR+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.CredUI.PSEC_WINNT_CREDUI_CONTEXT_VECTOR](https://github.com/dahall/Vanara/search?l=C%23&q=PSEC_WINNT_CREDUI_CONTEXT_VECTOR)  
### Classes  
Native Class | Header | Managed Class  
--- | --- | ---  
[PSEC_WINNT_CREDUI_CONTEXT](https://www.google.com/search?num=5&q=PSEC_WINNT_CREDUI_CONTEXT+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.CredUI.PSEC_WINNT_CREDUI_CONTEXT](https://github.com/dahall/Vanara/search?l=C%23&q=PSEC_WINNT_CREDUI_CONTEXT)  
[PSEC_WINNT_CREDUI_CONTEXT_VECTOR](https://www.google.com/search?num=5&q=PSEC_WINNT_CREDUI_CONTEXT_VECTOR+site%3Alearn.microsoft.com) |  | [Vanara.PInvoke.CredUI.PSEC_WINNT_CREDUI_CONTEXT_VECTOR](https://github.com/dahall/Vanara/search?l=C%23&q=PSEC_WINNT_CREDUI_CONTEXT_VECTOR)  
