c# - am i in console app? -
is there way detect inside component in c# if application uses component running in console application or others?
use environment.userinteractive
. if true
in console. if false
in service.
is there way detect inside component in c# if application uses component running in console application or others?
use environment.userinteractive
. if true
in console. if false
in service.
Comments
Post a Comment