'net use \\servername' in VB.NET 
Author Message
 'net use \\servername' in VB.NET

Hi
I wonder if someone can help me.
I am writing a simple server monitoring application, that will run as a
service and and write servers state to a database.
I need to ping the servers as well as test RPC connectivity. I have managed
to do the pings using api calls icmp.dll but having big problems with the
RPC connectivity test.
I could use something like
net use \\servername running from VB.NET using API calls or something.
I don't want to use WnetAddConnection as it is too much just to test if the
server responds.I also don't want to call the dos command using shell... as
it is not tidy and it would be slow and I don't even know if it would return
error state or not.
Can you help?
Thanks for any suggestion.


Sat, 22 May 2004 07:30:07 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VB.NET DLL's With A VB.NET App

2. My Vb.Net Apps will not run on other machine's with .Net Framework installed

3. Change passwords using 'Net Password'

4. ADO.NET with ASP.NET using VB.NET

5. Can't Add Web Reference when using vb.net

6. question about using vb.net's Web.Mail class

7. How to's using VB.NET

8. can't reference .NET assembly's classes in VB

9. VB.net 'Ceil'-Function?

10. vb.net SITE's Any really good ONE's TIA

11. windows.net doesn't like vs.net

12. Find good book about using CR.NET with VS.NET and .NET Framework

 

 
Powered by phpBB® Forum Software