<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>stknohg</author_name>
  <author_url>https://blog.hatena.ne.jp/stknohg/</author_url>
  <blog_title>しばたテックブログ</blog_title>
  <blog_url>https://blog.shibata.tech/</blog_url>
  <categories>
    <anon>Windows</anon>
    <anon>C#</anon>
    <anon>その他</anon>
  </categories>
  <description>はじめに C#でイベントログを出力するには通常 EventLog.WriteEntry メソッドを使うのが一般的だと思うのですが、本エントリはそうではなく EventLog.WriteEvent メソッドを使ってイベントログを出力する方法を紹介します。 仕事でとあるイベントログの監視ツールに対してイベントログを出力する必要があって、「簡単だろう」と高を括っていたら意外とはまってしまったのが今回の内容です。作業環境はこんな感じです。 Windows 7 Ultimate Microsoft Visual C# 2010 Express Microsoft Visual C++ 2010 Expr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibata.tech%2Fentry%2F20100711%2Fp1&quot; title=&quot;EventLog.WriteEvent メソッドを使ってイベントログを出力する - しばたテックブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/s/stknohg/20100711/20100711145014.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-07-11 00:00:00</published>
  <title>EventLog.WriteEvent メソッドを使ってイベントログを出力する</title>
  <type>rich</type>
  <url>https://blog.shibata.tech/entry/20100711/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
