Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c# Mount Control help #211

Open
shadesofdeath opened this issue Nov 28, 2023 · 1 comment
Open

c# Mount Control help #211

shadesofdeath opened this issue Nov 28, 2023 · 1 comment
Labels

Comments

@shadesofdeath
Copy link

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#

@jeffkl
Copy link
Owner

jeffkl commented Nov 29, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants