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

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

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

iphone - How would you achieve a LED Scrolling effect? -