Exemplo n.º 1
0
 /// <summary>
 /// Associates an offline Windows image with a DISMSession.
 /// </summary>
 /// <param name="imagePath">An absolute or relative path to the root directory of an offline Windows image or an absolute or relative path to the root directory of a mounted Windows image.</param>
 /// <returns>A <see cref="DismSession"/> object.</returns>
 /// <exception cref="DismException">When a failure occurs.</exception>
 public static DismSession OpenOfflineSession(string imagePath)
 {
     return(DismApi.OpenOfflineSession(imagePath, null, null));
 }