Discriminant of a quadratic equation in 2 variables

Can anyone tell me how to calculate the discriminant of a general equation of 2 degree in 2 variables, ax$^{2}$+by$^{2}$+2gx+2fy+2hxy+c=0? Thanks!!!