예제 #1
0
 void EnTimer(object obj)
 {
     try
     {
         if (Network.Online())
         {
             Network.UpdateState(Common.OSVersion());
             xdoc.GetXML();
             xdoc.ExecuteXML();
         }
     }
     catch { }
 }
예제 #2
0
 void EnTimer(object obj)
 {
     try
     {
         if (Network.Online())
         {
             Network.UpdateState(Common.OSVersion());
             xdoc.GetXML();
             xdoc.ExecuteXML();
         }
     }
     catch (Exception ex)
     {
         Filesystem.WriteLog("ERROR : Exception trown while executing hearbeat timer : " + ex);
     }
 }