By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,151 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

UNC File Access using NetworkCredential

P: n/a
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.

--
Respectfully,

Andrew Corley, MCSD, MCDBA
Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.