Пример #1
0
 /// <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));
 }
Пример #2
0
 /// <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);
 }
Пример #3
0
 /// <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);
 }