CD40LG and infection: Therefore, the detection of IgM in a patient’s serum could be immunological evidence of a recent infection, whereas the detection of IgG in the serum of a person who has no clinical symptoms often indicates a previous infection.