[dba-VB] This is why i love C#

jwcolby jwcolby at colbyconsulting.com
Fri Apr 16 08:57:59 CDT 2010


I use virtual machines to do some processing.  When not using the VMs I turn off the entire physical 
machine that hosts the VMs.  I have code that needs to move files to / from the VMs, but I need to 
check that they exist before I try to do so.

The .Net framework has an entire namespace for the Net and it specifically has a PING class which 
allows me to ping an IP to see if it responds.  Voila, instant "is the machine turned on" code.


-- 
John W. Colby
www.ColbyConsulting.com



More information about the dba-VB mailing list