[]
Gets the base URI that contains the workbook.
If the returned value is not null, Name returns the
workbook file name.
For example, for the URI
https://www.example.com/file/example.xlsx, the base URI is
https://www.example.com/file and the workbook name is
example.xlsx.
public string BaseUri { get; }
Public ReadOnly Property BaseUri As String
WorkbookReference reference = WorkbookReference.FromUri("https://somesite.com/files/sample.xlsx");
string baseUri = reference.BaseUri;