Hello!
You'll want to use the NetApp Manageability SDK and the cifs-share-get-iter API. There are some code examples in C# that you can use as a starting point provided with the NMSDK download.
Hope that helps.
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.