how I can list programatically the cifs shares by using C# (not Powershell)? Is it necessary to setup the fpolicy or something else?
Thanks and regards,
SEE THE SOLUTION
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.