basic Authentication in .net framework 2.0

I need help in asp .net, I want to read the username from the HTTP header in .net framework 2.0. (like we do in basic authentication) Is there a way to do that? Thanks in advance.

P.S: I know it's old but need to do it.