Message 1 of 2
Best way for retrieve specific directory

Not applicable
08-01-2012
02:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i want to retrieve the Desktop Directory but i found 2 way :
1 : Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
2 : My.Computer.FileSystem.SpecialDirectories.Desktop
so.. what is the best ? And why 2 choose for this ? I am confused...