Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Lifetime of Eventsource created with C#

$
0
0

Hello,

for writing to the application event log I nedd an event source, but the documentation says that a created event source needs some time before it can be used.

So I thought about writing a short program in C# which creates this event source and whcih is executed once.

Then I can use in my other C# programs this event souce to write to the application log.

For this approach to make sense I should know if the created event source would even survive a reboot ?

with best regards

  Hendrik Schmieder


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>