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

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -