my task: I want to display entries from the windows eventlog from my printjobs. I found various tutorials from msdn and different sites, but I cannot get access to my preferred protocol/service name.
Microsoft-Windows-PrintService
my Code ( c#):
string lists = EventLog.LogNameFromSourceName("Microsoft-Windows-PrintService/Operational", ".");
but this code is not working. Did somebody know a solution or a workaround for my problem. This is my first project in c#.
Thanks in Advance!