Getting a Windows credential username in a C # form application

How to get a signed username in a Windows Forms application? The application runs on Windows Embedded Standard 7 O / S.

+7
source share
1 answer

You probably want Environment.UserName . See http://msdn.microsoft.com/en-us/library/system.environment.username.aspx for details.

+21
source

All Articles