C# and Event Log

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

I would like to use C# to create a new log in the event viewer using a name
I desire. So along side Application, System & Security I will have a new
long called CompanyXXX Log - is this possible using C#?

Thanks
Msuk
 
Hi,

Have you tried the 2nd parameter of EventLog.CreateEventSource(source,
logName, machine) ?


--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
Back
Top