<% @ Import namespace = "system.Runtime.InterOpServices"%>
[DLLIMPORT ("Advapi32.dll")]]]]]
Public Static Extern Bool GetUserName (StringBuilder LPBuffer, Ref Int Nsize);
Void Page_Load (Object Sender, Eventargs E)
{
StringBuilder B = New StringBuilder (100);
INT n = b.capacity;
BOOL RC = GetUserName (B, Ref n);
Response.write (B. Tnowtring ());
}
script>