ManagedDism icon indicating copy to clipboard operation
ManagedDism copied to clipboard

c# Mount Control help

Open shadesofdeath opened this issue 2 years ago • 1 comments

When mounting or unmounting a wim file, if we suddenly interrupt the process, the mount or unmount process is aborted. How can we check that this mount directory is no longer available in c#

shadesofdeath avatar Nov 28 '23 12:11 shadesofdeath

I think you can use ManagedWimgApi to call GetMountedImageInfo() which will return all of the mounted images and their status. Then you can use other APIs there to unmount it and try again.

jeffkl avatar Nov 29 '23 21:11 jeffkl