-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdvApi32 CredEnumerate marshals error #54
Comments
Thank you for doing the work on the PR! Would you like me to fix |
If you're looking at Vanara.PInvoke.Crypt32, please note that it has been superceded by Vanara.PInvoke.Cryptography. |
Before working too much on a PR, please look at the fixes I just posted. CREDENTIAL now marshals correctly. My implementation of the CredEnum didn't cast to a pointer before getting the structure. It now does. Those two changes should make the other functions work better. |
Okay I see that you have fixed/impr. some part as |
Fixed and released in 2.3.11 today |
Describe the bug
AdvApi32.CredEnumerate
call is not functionning, throwing anSystem.ExecutionEngineException: 'Exception of type 'System.ExecutionEngineException' was thrown.'
What code is involved
AdvApi32.CredEnumerate
and after some fast research underlyinghandle.ToArray
Expected behavior
Returning a array of Credential object.
Other
Some CredAPI could be impr. and a PR is on this way too.
The text was updated successfully, but these errors were encountered: