2 years ago

#41345

test-img

Tom

C# ConsoleApp execution source

How can I recognize, if .NET Framework 4.8 Console App was executed by user directly or by Windows Task Scheduler.

I tried to browse current process information, especially StartInfo property.

Unfortunately, I haven't found any interesting difference.

Any idea?

c#

console-application

taskscheduler

.net-4.8

0 Answers

Your Answer

Accepted video resources