how to disconnect a windows share dir by known IP?
Posted
by linjunhalida
on Stack Overflow
See other posts from Stack Overflow
or by linjunhalida
Published on 2009-03-27T06:04:14Z
Indexed on
2010/04/07
19:03 UTC
Read the original article
Hit count: 174
Windows
|networking
windows only record 1 user/pwd to a remote share dir,
and my program need to connect a dir,
but the user may login first, let my program failed to connect,
is there a method to disconnect it? i only know the IP.
I use wnetcancelconnection2(remotedir) first, but still cannot work,
and return 1219 error(credentials supplied conflict with an existing set of credentials)
© Stack Overflow or respective owner