Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DirectoryEntry root = new DirectoryEntry("WinNT:");
- foreach (DirectoryEntry dom in root.Children) {
- foreach (DirectoryEntry entry in dom.Children) {
- if (entry.Name != "Schema") {
- Console.WriteLine(entry.Name);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment