ProtocolPirate
Programmer
I'm trying to find map network drives without using an ugly shell command to call "net use" and I've found that there is a serious limitation to the old windows API calls to WNetAddConnection2 (can't map drives by a different user name on a completely different drive, which is quite ugly too).
So I keep seeing all of these wonderful WMI functions that do network drive mapping and much more, but they all say to do Imports System.Management. What the heck version of .NET are they referring to, it *never* says. I'm sure as hell not seeing it in .NET 2.0. The only thing under the System namespace that starts with Ma is the Math package.
Which version of .NET has the System.Management namespace?
So I keep seeing all of these wonderful WMI functions that do network drive mapping and much more, but they all say to do Imports System.Management. What the heck version of .NET are they referring to, it *never* says. I'm sure as hell not seeing it in .NET 2.0. The only thing under the System namespace that starts with Ma is the Math package.
Which version of .NET has the System.Management namespace?