Caps lock is a keyboard state, not a character value, so there is no ASCII value for it (which is what I'm guessing you mean by ANSI.)
Since you flagged this as
ASP.Net
, I am also guessing you want to know how to read the caps lock state from a browser. You can use Javascript to make a "best guess" when someone types into a text box; I found
this example[
^] here at CP. But otherwise, no.