I open a file in this way and that works fine:
var openFileDialog = new OpenFileDialog;
if (openFileDialog.ShowDialog().GetValueOrDefault())
{
Browser.FileDoc = File.ReadAllText(openFileDialog.FileName);
}
Now, I want to get the path and pass it to another class. How can I do that?