title: Connect to network drive with user name and password
body: <p>How do I supply credential so that I can connect to a network drive in .NET?</p>
  
  <p>I’m trying to retrieve files from a network drive and need to supply user credentials to access the drive.</p>