Pre-populate user & domain?

Jun 15, 2015 at 4:57 PM
Would it be possible to use Windows context to pre-populate the username and domain fields?

Seems like running EXE on local Windows O/S these two values could be filled in to save users time. Here's some sample C# to do the trick during Form_Load():

https://msdn.microsoft.com/en-us/library/system.environment.username(v=vs.110).aspx
Console.WriteLine("UserName: {0}", Environment.UserName);
Console.WriteLine("Domain: {0}", Environment.UserDomainName);

Keep up the great work, thank you! =)