How to check if the current User has been Authenticated?

Platform: ASP.NET|Category: Miscellaneous

VB.NET

If User.Identity.IsAuthenticated Then
   	’Your code 
End If

C#

if (User.Identity.IsAuthenticated ) 
{
	//Your code 
}