/// <summary>
 /// Initializes DISM API. Initialize must be called once per process before calling any other DISM API functions.
 /// </summary>
 /// <param name="logLevel">Indicates the level of logging.</param>
 /// <param name="logFilePath">A relative or absolute path to a log file. All messages generated will be logged to this path. If NULL, the default log path, %windir%\Logs\DISM\dism.log, will be used.</param>
 /// <exception cref="DismException">When a failure occurs.</exception>
 public static void Initialize(DismLogLevel logLevel, string logFilePath)
 {
     DismApi.Initialize(logLevel, logFilePath, null);
 }
 /// <summary>
 /// Initializes DISM API. Initialize must be called once per process before calling any other DISM API functions.
 /// </summary>
 /// <param name="logLevel">Indicates the level of logging.</param>
 /// <exception cref="DismException">When a failure occurs.</exception>
 public static void Initialize(DismLogLevel logLevel)
 {
     DismApi.Initialize(logLevel, null);
 }