Exemplo n.º 1
0
 public static bool Load()
 {
     try
     {
         Instance = new ZoneAcceptor(Program.ServiceInfo.Port);
         return true;
     }
     catch (Exception ex)
     {
         Log.WriteLine(LogLevel.Exception, "ZoneAcceptor exception: {0}", ex.ToString());
         return false;
     }
 }
Exemplo n.º 2
0
 public static bool Load()
 {
     try
     {
         Instance = new ZoneAcceptor(Program.ServiceInfo.Port);
         return(true);
     }
     catch (Exception ex)
     {
         Log.WriteLine(LogLevel.Exception, "ZoneAcceptor exception: {0}", ex.ToString());
         return(false);
     }
 }