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

Calling EnumerateChildren on the Computer folder throws NotImplementedException #68

Closed
tim-fernico opened this issue Oct 21, 2019 · 1 comment

Comments

@tim-fernico
Copy link

The following code causes a NotImplementedException to be throw when enumerating the children of the Computer folder.

using Vanara.Windows.Shell;
using static Vanara.PInvoke.Shell32;

var si = new ShellFolder(KNOWNFOLDERID.FOLDERID_ComputerFolder);
var children = si.EnumerateChildren().ToList(); // this line throws

image

@dahall
Copy link
Owner

dahall commented Oct 21, 2019

Thanks for alerting me to a condition where the IEnum.Reset method is not implemented. This is fixed and will go out in the next release.

@dahall dahall closed this as completed Oct 21, 2019
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

No branches or pull requests

2 participants