How to write membership registration and authentication code via email on asp.net web ?

When registering a member of a certain forum on the website, the forum usually requires confirmation by phone number or email to activate the registered user account (registered member), I want to find samples, documents. or this topic keyword, what keywords do I use ?