[DllImport("mpr.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern uint WNetAddConnection( string lpRemoteName, string lpPassword, string lpLocalName );
Microsoft documentation: Link
Last updated 1 year ago