TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sumit Kumawat
NA
454
415.9k
how to write query for ExportLogAndMessages in c#?
Nov 27 2017 1:34 AM
Hi all,
i am working on wpf application and in this im exportin evtx files using ExportLogAndMessages function using below code
EventLogSession logsession = new EventLogSession();
logsession.ExportLogAndMessages(LogName, PathType.LogName, "*", subfolderpath, false, CultureInfo.CurrentCulture);
and it is fetching all the data but now i want to fetch the events only between of selected time period so please tell me how to write query to get event which are created in particular time span.
TIA
Reply
Answers (
1
)
how to get current input language in wpf c#?
Close Window in MVC