Closed zhuxb711 closed 5 months ago
Describe the bug and how to reproduce
What code is involved
For problem 1:
Work:
ShellContextMenu ContextMenu = new ShellItem("<File path>").ContextMenu; if (ContextMenu.GetItems(Shell32.CMF.CMF_DEFAULTONLY).FirstOrDefault((Item) => string.Equals(Item.Verb, "open", StringComparison.OrdinalIgnoreCase)) is ShellContextMenu.MenuItemInfo Info) { ContextMenu.InvokeVerb(Info.Verb); }
Not work:
ShellFile.ShellCoreItem.ContextMenu.InvokeVerb("open");
Expected behavior
Fixed in upcoming 4.0.2. Thanks for hint.
Describe the bug and how to reproduce
What code is involved
For problem 1:
Work:
Not work:
Expected behavior