Mapping network drives using C#

  • Thread starter Thread starter John Dean
  • Start date Start date
J

John Dean

Are there any built-in .NET classes that can be used to map drives and
printers? I know I can run the shell command "NET USE" but if there are any
built-in classes it would be more elegant. Thanks!
 
Nope, nothing built in. You can use the NET API via P/Invoke, or you can do
that with the NET command.
 
Back
Top