UNC File Access using NetworkCredential

G

Guest

Good day,

I have researched on MSDN and the newsgroups and I have not yet found an answer. Hopefully, one of you will have solved this type of issue already.

I am writing a VB.NET 2003 console application and I need to access files via a UNC file share on a Windows 200X domain. I have a specific domain user name and password that will be used to access the directory. Our requirements dictate that we embed these credentials in the application. We do not want the interactive user to have permissions to the share and we are not going to be running this as a service.

Is there a file access method that supports the NetworkCredential property? I need this to be share-based access so WebFileRequest and similar methods do not appear to be the appropriate choice.
 

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