How do I get the same result as I get with bcdedit /enum ALL using wmi?
问题 I'm trying to get the same information as I get with the bcdedit command "bcdedit /enum ALL" but using wmi and C#. I know how to get the bootmgr entries (see code) but I can't get all entries, especially the device options is the information I'm looking for. Does anyone have an idea how to achieve that? This is the code I'm using to get the standard and legacy os boot entries. public class BCDWMI { public static readonly UInt32 BCDE_STANDARD_OS_ENTRY = 0x10200003; public static readonly