public bool EqualsInAddressPort(CandidatePair candidatePair)
{
// checks if the IP Address and the Port of the local and the remote candidate are equal
if (this.localCandidate.EqualsInAddressPort(candidatePair.localCandidate) &&
this.remoteCandidate.EqualsInAddressPort(candidatePair.remoteCandidate))
{
return true;
}
else
return false;
}