9swampy / Telnet

Published on Nuget at https://www.nuget.org/packages/Telnet
http://www.nugetmusthaves.com/Package/Telnet
MIT License
124 stars 50 forks source link

add option to suppress output to console #62

Closed Wixely closed 2 years ago

Wixely commented 3 years ago

It's not desirable for me to have dlls writing to console as it creates overhead with lots of data and makes them incompatible to run in windows services. I've added a simple flag to disable this on server and client. Environment.UserInteractive seems not to exist in this projects version of Net Standard so I've just kept it very basic.

9swampy commented 2 years ago

Didn't merge but the intent's included in the release 0.9.1 I've just pushed to Nuget.

Client.IsConsoleWrite = false; should do it.

Any problems, shout.

Wixely commented 2 years ago

Excellent, no worries!