/// <summary>
 /// Gets detailed information for the specified feature.
 /// </summary>
 /// <param name="session">A valid DISM Session. The DISM Session must be associated with an image. You can associate a session with an image by using the DismOpenSession Function.</param>
 /// <param name="featureName">The name of the feature that you want to get more information about.</param>
 /// <param name="packagePath">An absolute path to a package.</param>
 /// <returns>A <see cref="DismFeatureInfo"/> object.</returns>
 /// <exception cref="DismException">When a failure occurs.</exception>
 public static DismFeatureInfo GetFeatureInfoByPackagePath(DismSession session, string featureName, string packagePath)
 {
     return(DismApi.GetFeatureInfo(session, featureName, packagePath, DismPackageIdentifier.Path));
 }
 /// <summary>
 /// Gets detailed information for the specified feature.
 /// </summary>
 /// <param name="session">A valid DISM Session. The DISM Session must be associated with an image. You can associate a session with an image by using the DismOpenSession Function.</param>
 /// <param name="featureName">The name of the feature that you want to get more information about.</param>
 /// <returns>A <see cref="DismFeatureInfo"/> object.</returns>
 /// <exception cref="DismException">When a failure occurs.</exception>
 public static DismFeatureInfo GetFeatureInfo(DismSession session, string featureName)
 {
     return(DismApi.GetFeatureInfo(session, featureName, String.Empty, DismPackageIdentifier.None));
 }