Ejemplo n.º 1
0
 /// <summary>
 /// Guarda em ficheiro binário a informação relativa à classe Vulnerabilidade
 /// </summary>
 /// <param name="fileName">Diretório do ficheiro</param>
 public static bool GuardarVulnerabilidades(string fileName)
 {
     try
     {
         return(Vulnerabilidades.GuardarVulnerabilidades(fileName));
     }
     catch (IOException x)
     {
         throw new IOException("ERRO: " + x.Message);
     }
     catch (Exception x)
     {
         throw new Exception("ERRO: " + x.Message);
     }
 }