/// <summary> /// Llista els recursos compartits d'un servidor CIFS /// </summary> /// <param name="path"> /// Adreça del servidor CIFS (DNS o IP) <see cref="System.String"/> /// </param> /// <returns> /// Col·lecció de recursos compartits <see cref="Shares"/> /// </returns> public Shares ShareEnum(string UNCpath) { Shares s = EnumerateShares(UNCpath); if (s.Count() < 1) { throw new IOException(); } return(s); }