chrisben
March 15th, 2002, 11:07 AM
In C#.
Thanks for the help
Chris
Thanks for the help
Chris
|
Click to See Complete Forum and Search --> : how to find the current system date and login accout of the lcoal computer? chrisben March 15th, 2002, 11:07 AM In C#. Thanks for the help Chris Arild Fines March 15th, 2002, 02:50 PM DateTime.Now for the current system time. The world holds two classes of men -- intelligent men without religion, and religious men without intelligence. Abu'l-Ala-Al-Ma'arri (973-1057; Syrian poet) vmister March 18th, 2002, 02:11 AM using System; using System.Security.Principal; namespace ConsoleApplication1 { class Class1 { static void Main(string[] args) { WindowsIdentity wi=WindowsIdentity.GetCurrent(); Console.WriteLine(wi.Name); } } } Good luck Please rate if you think this response was useful for you. Have more questions? chrisben March 18th, 2002, 05:21 PM thanks for the help. I got it. Chris codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |