Professor: who are you? What's your name? Student : May I know who is asking?
Is the student part i.e., "May I know who is asking?" polite enough? or if there is some other better way of putting it, please suggest.
Sorry for providing incomplete details
This conversation is happening inside a college. The student knows that the person is a professor but from an entirely different department i.e., professor knows that the person is a student and vice versa but nothing more. For some reason (unknown to the student), the professor is trying to know the student's name.