How do I get the current username in .NET using C#?
Answer
string userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...
No comments:
Post a Comment