• Hello and welcome to our new forums. We upgraded our forum sites to a more robust and modern system which we hope you will enjoy. Be sure to check out your profile by clicking the button on the top right and configure your preferences, signature, time zone, avatar, etc. as you wish. If you need help with using this new forum'ware try the help link on the bottom right.

    Click here to review your account now.

Question how to save credentials of network shares in windows


New member
Dec 12, 2016
Programming Experience
Whenever we try to access a network share it will prompt for credentials based on the shared folder settings. Like the below prompt

Once you save them, they are saved in Windows Credentials of Credentials Manager in Control panel (run --> control keymgr.dll).

But not able to found exact file or registry for this setting.

So, can anyone suggest how to do this process of adding network credentials using c#.
Top Bottom