Does "get" mean the same thing in these two sentences?

What did you get at the toy store?

She didn't get his name when they met the first time.
different meanings