check that event log exists
Published: 1. February 2012 | Updated: 1. February 2012License: Microsoft Public License (MS-PL)
Categories: Debug, Windows
Tags: C# Debug Windows
Import namespace
using System.Diagnostics;
Code
bool exists = EventLog.Exists("Application");
| Send us feedback about this snippet » |





