問題タブ [eventlog-source]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - C#を使用してアプリケーションおよびサービスのWindowsイベントソースからイベントを読み取る方法は?
「Microsoft-Windows-Sysmon/Operational」の Windows イベント ログを読み込もうとしています。
しかし、私は得る:
System.InvalidOperationException: 'イベント ログ 'Microsoft-Windows-Sysmon/Operational' on computer '.' 存在しません。'*
ここで解決策を見つけましたSystem.Diagnostics.Eventing.Reader 名前空間を使用しています。ただし、システムまたはパッケージマネージャーのどこにもこれを取得できないようです。