Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

CredentialManagement 1.0.2 - Nuget package not able to fetch credentials from CredentialManager in Windows 10 Enterprise

$
0
0

We are using CredentialManagement v1.0.2 Nuget package within WPF app to fetch the user credentials from Credential Manager. Below is the code :

    private static Credential GetCredentials(Credential cacheCredentials)    {        if (!cacheCredentials.Exists())        {            return null;        }        return cacheCredentials;    }

And we are calling above method as :

        var cred = GetCredentials(new Credential { Target = "CacheUser" });

Now this GetCredentials method is always returning null even though CacheUser is present in Credential Manager inside Control Panel.

Any pointers on above issue would be really helpful. Thanks.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>