Exporting the System/Application event log

G

Guest

I am writing a function in C# that will export the Application and System
event logs to a file for viewing on another PC. I am using the EventLog
class, and am able to browse the events in the log. What I would like to do
is export that data to a .evt file, so that the log can be opened and viewed
in the Event Viewer. I was unable to find a way to accomplish this with the
methods provided in the EventLog class. Is there a way to export the logs to
a .evt file so that Event Viewer can read them?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top