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

Use VDS to get drive info #76

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

Adam1213
Copy link

@Adam1213 Adam1213 commented Nov 4, 2024

This PR changes source of drives info from WMI to VDS (Virtual Disk Service), same source that Disk Manager app uses.

Benefits are following:

  • Reliably get dynamic drive information,
  • Get more information like drive firmware if available.
  • Get more detailed disk layout.

Disk layout is now divided into extents (A contiguous set of one or more disk sectors), which now can show hidden disk areas containing partition table, MSR partitions, etc.

WMI is still used to get drive PnP ID. In case VDS service fails to load, WMI method is used as fallback.

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

Successfully merging this pull request may close these issues.

1 participant