Access a network share

G

Guest

Hi,
Code in my windows application is supposed to zip a file and copy the same
to a network share folder. The issue is that this network share can only be
accessed by a specifc username and password . How do i accomplish this in
code.
 
G

Guest

i think you need to write a wrapper in dotnet that use the win32 API
'WNetAddConnection2' to connect the resource.

Philippe Kouyoumdjian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top