The correct answer is: C. had met

The sentence is in the past tense, so we need to use a past tense verb. The verb "meet" can be used in the simple past tense (met) or the past perfect tense (had met). The simple past tense is used to talk about events that happened in the past and are not connected to the present. The past perfect tense is used to talk about events that happened in the past and are connected to the present.

In this sentence, the speaker is talking about an event that happened in the past and is connected to the present. The speaker is saying that they haven't seen the listener for a long time, so they are asking when they last met. The past perfect tense is the correct tense to use in this sentence because it shows that the event of meeting happened before the event of not seeing each other for a long time.

The other options are incorrect because they are not in the past tense. Option A, "did/meet," is in the simple present tense. Option B, "have/met," is in the present perfect tense. Option D, "did/met," is also in the simple past tense, but it is not the correct tense to use in this sentence because it does not show that the event of meeting happened before the event of not seeing each other for a long time.