title: Check if azure databricks mount point exists from .NET
body: <p>I work on an app which does some kind of data engineering and we use Azure ADLS for data storage and Databricks for data manipulation. There are two approaches in order to retrieve the data, the first one uses the <code>Storage Account</code> and <code>Storage account secret key</code> and the other approach uses <code>mount point</code>. When I go with the first approach, I can successfully check, from .NET, whether the <code>Storage account</code> and it's corresponsive <code>Secret key</code> correspond to each other and return a message whether the credentials are right or not. However, I need to do the same thing with the <code>mount point</code> i.e. determine whether the <code>mount point</code> exists in <code>dbutils.fs.mounts()</code> or anywhere in the storage (I don't know how <code>mount point</code> exactly works and if it stores data in blob).</p>
  <p>The flow for <code>Storage account</code> and <code>Secret key</code> is the following:</p>
  <ol>
  <li>Try to connect using the <code>BlobServiceClient</code> API from Microsoft;</li>
  <li>If it fails, return a message to the user that the credentials are invalid;</li>
  <li>If it doesn't fail, proceed further.</li>
  </ol>
  <p>I'm not that familiar with <code>/mnt/</code> and stuff because I mostly do .NET but is there a way to check from .NET whether a <code>mount point</code> exists or not?</p>