I have a view, that contains a text-field and a button. The button shows a SaveFileDialog - The selected file-path will be assigned to the text-field.
var saveFileDialog = new System.Windows.Forms.SaveFileDialog();
var lastPath = saveFileDialog.InitialDirectory; //empty
What I'd like to have, is to know the location, in which the SaveFileDialog is opening on ShowDialog.
I know, that I can set the InitialDirectory, but this property is empty by default. And I explicitely dont want to set the InitialDirectory, my goal is to obtain the one the form obviously remembers somehow.
Is there a way to get this (whitout extra "saving" it for the next call).