[DllImport("Mpr.dll", SetLastError = true)] public static extern uint WNetGetLastError( out uint lpError, StringBuilder lpErrorBuf, uint nErrorBufSize, StringBuilder lpNameBuf, uint nNameBufSize );
Microsoft documentation: Link
Last updated 1 year ago