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 -

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

java - Android recognize cell phone with keyboard or not? -