private void GetResult(API.IFileDialog dialog) { API.IShellItem item; dialog.GetResult(out item); item.GetDisplayName(API.SIGDN.SIGDN_FILESYSPATH, out _selectedPath); }