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.


Comments

Popular posts from this blog

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

php - Change action and image src url's with jQuery -