How to decrease RegConnectRegistry timeout?
hi,
when connecting remote registry using regconnectregistry() api call, have wait 2 minutes call fail if remote computer not available. how can decrease timeout value e.g. 30 seconds?
regards,
philipp kerling
when connecting remote registry using regconnectregistry() api call, have wait 2 minutes call fail if remote computer not available. how can decrease timeout value e.g. 30 seconds?
regards,
philipp kerling
hi,
you may check whether remote computer either pinging system.net.networkinformation.ping ( http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx ) or enumerating network computers netservenum , checking yout target in list ( see http://pinvoke.net/default.aspx/netapi32/netserverenum.html ).
regards,
you may check whether remote computer either pinging system.net.networkinformation.ping ( http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx ) or enumerating network computers netservenum , checking yout target in list ( see http://pinvoke.net/default.aspx/netapi32/netserverenum.html ).
regards,
Architecture > Architecture General
Comments
Post a Comment