Quantcast
Channel: .NET Tutorials
Viewing all articles
Browse latest Browse all 10

Get current username in Windows using C#

$
0
0
System.Security.Principal.WindowsIdentity.GetCurrent().Name;

Viewing all articles
Browse latest Browse all 10

Trending Articles