title: Using C# to pass server share credentials prior to operations
body: <p>my application use a shared directory (Windows) on the network and i want to make that share available on network only to a given user and password.
  Is there any way to pass authentication prior to any operations on this network resource? *I'm not using a domain. </p>
  
  <p>Thank you so much!</p>