/// <summary>Determines equality of two PSID instances.</summary> /// <param name="psid1">The first PSID.</param> /// <param name="psid2">The second PSID.</param> /// <returns><see langword="true"/> if the SID structures are equal; <see langword="false"/> otherwise.</returns> public static bool Equals(this PSID psid1, PSID psid2) => AdvApi32.EqualSid(psid1, psid2);