c#怎样访问内网共享目录(有帐号的)解决方法

c#怎样访问内网共享目录(有帐号的)如下代码在哪加入访问帐号,不能给用户输,我用net use..... pwd/user 也

c#怎样访问内网共享目录(有帐号的)
如下代码在哪加入访问帐号,不能给用户输,我用net use..... pwd/user 也不行

  using (System.Diagnostics.Process p = new System.Diagnostics.Process())
  {
   
  p.StartInfo = new System.Diagnostics.ProcessStartInfo(openfile);

  p.Start();
   
  p.WaitForExit();

  p.Dispose();

  openfile = null;
  }

[解决办法]
C# 实现访问网络共享文件夹