static extern void CopyMemory(IntPtr destination, NETRESOURCE source, uint length); [DllImport("shlwapi.dll", CharSet = CharSet.Unicode)]