Example #1
0
 void EnTimer(object obj)
 {
     try
     {
         if (Network.Online())
         {
             Network.UpdateState(Common.OSVersion());
             xdoc.GetXML();
             xdoc.ExecuteXML();
         }
     }
     catch { }
 }
Example #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);
     }
 }