Can someone explain to me why this code works (C#):
WqlEventQuery procCreateQuery = new WqlEventQuery(
"__InstanceCreationEvent",
new TimeSpan(0, 0, 1),
"TargetInstance isa \"Win32_Process\");
and also this works...
WqlEventQuery procCreateQuery = new WqlEventQuery(
"__InstanceCreationEvent",
new TimeSpan(200),
"TargetInstance isa \"Win32_Process\");
...while the following gets "unparsable query":
WqlEventQuery procCreateQuery = new WqlEventQuery(
"__InstanceCreationEvent",
new TimeSpan(0, 0, 0, 0, 200),
"TargetInstance isa \"Win32_Process\");
Another strange thing is that I think I used to run the one that now
fails, successfully aswell, but all of a sudden I can't.
So I am allowed to poll at 1 second intervall aswell as 20
microseconds intervall but NOT at 200 milliseconds intervall?
Does someone know what is going on here?