public virtual void SetAttributes(int attrs) { if (GetUncPath0().Length == 1) { throw new SmbException("Invalid operation for workgroups, servers, or shares"); } SetPathInformation(attrs & AttrSetMask, 0L, 0L); }