Open jascam opened 7 years ago
http://msdn.microsoft.com/en-us/library/dd996924(VS.85).aspx#enum http://msdn.microsoft.com/en-us/library/aa385771(VS.85).aspx EventLogReader reader = new EventLogReader("Microsoft-Windows-UAC/Operational", PathType.LogName); EventRecord r = reader.ReadEvent(); MessageBox.Show(r.UserId.Value.ToString());
CodePlex Work Item ID: '5164' Assigned to: 'Jialiang' Vote count: '1'
http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/882df3d5-9a9b-437b-a6ab-e09873ce6ece
This comment was posted by Jialiang on 1/27/2010
This comment was posted by on 2/21/2013
http://msdn.microsoft.com/en-us/library/dd996924(VS.85).aspx#enum http://msdn.microsoft.com/en-us/library/aa385771(VS.85).aspx EventLogReader reader = new EventLogReader("Microsoft-Windows-UAC/Operational", PathType.LogName); EventRecord r = reader.ReadEvent(); MessageBox.Show(r.UserId.Value.ToString());
Migrated CodePlex Work Item Details
CodePlex Work Item ID: '5164' Assigned to: 'Jialiang' Vote count: '1'