I have a question about accessing some network resources with password protect.
I already have access to network using my private login/password. Every time opening network resource on clean Windows system I have to enter login/password to corresponding fields.
My question is about the C# function/library that could help to use my login/password in .exe file to bypass the “Enter password network” dialog.
You can use WNetAddConnection3 for that. Be aware, though, that this means you will be saving your password to a file. It will be readable in the source file and in the resulting executable.