0
Reply

[DllImport(“NetApi32.dll”… throws exception for first few

shoab shah

shoab shah

Feb 27 2013 4:38 AM
1.3k
Hi All,

am using [DllImport("NetApi32.dll", SetLastError = true, CharSet = CharSet.Unicode)] to access, save files to a network location. The problem is File creation / save work fails for first few attempts and laters starts working fine. After a time interval say 5-6 hours again it fails first few time. Kindly help
Thanks in advance