Are there any tools in .NET so that, in Windows, if the network directory is not connected, connect it to a specific letter of the local disk?
- View the functions of WNetAddConnection2 / WNetAddConnection3 - Vladimir Martyanov
- As far as I can see, this is Win32API and not .NET - Dmitry Gvozd
- Do you think .NET will not use them in the end and thus it will have its own implementation? I doubt it. If you don’t like WinAPI, you can safely run net use with the necessary parameters via .NET. - Vladimir Martyanov
|