/// <summary> /// Secondary genAIS thats calls the first /// </summary> /// <param name="coffFileName">File name of .out file</param> /// <param name="bootmode">AISGen.BootModes Enum value containing desired boot mode</param> /// <returns>an Array of bytes to write to create an AIS file</returns> public static Byte[] SecureGenAIS(String coffFileName, BootModes bootmode, AISGen devAISGen, String iniData) { return SecureGenAIS(coffFileName, bootmode, devAISGen, INI.Parse(iniData)); }
/// <summary> /// Secondary genAIS that calls the first /// </summary> /// <param name="coffFileName">File name of .out file</param> /// <param name="bootmode">AISGen.BootModes Enum value containing desired boot mode</param> /// <returns>an Array of bytes to write to create an AIS file</returns> public static Byte[] GenAIS(String coffFileName, BootModes bootmode, AISGen devAISGen, String iniData ) { devAISGen.bootMode = bootmode; Console.WriteLine("Chosen bootmode is {0}.", devAISGen.bootMode.ToString()); return GenAIS(coffFileName, devAISGen, iniData); }
/// <summary> /// Secondary genAIS thats calls the first /// </summary> /// <param name="coffFileName">File name of .out file</param> /// <param name="bootmode">AISGen.BootModes Enum value containing desired boot mode</param> /// <returns>an Array of bytes to write to create an AIS file</returns> public static Byte[] SecureGenAIS(String coffFileName, BootModes bootmode, AISGen devAISGen, INISection[] iniSecs) { devAISGen.bootMode = bootmode; Console.WriteLine("Chosen bootmode is {0}.", devAISGen.bootMode.ToString()); return SecureGenAIS(coffFileName, devAISGen, iniSecs); }