ArchiSteamFarm.Program.Main C# (CSharp) Method

Main() private static method

private static Main ( string args ) : void
args string
return void
		private static void Main(string[] args) {
			if (Runtime.IsUserInteractive) {
				// App
				Init(args);

				// Wait for signal to shutdown
				ShutdownResetEvent.Wait();

				// We got a signal to shutdown
				Exit();
			} else {
				// Service
				IsRunningAsService = true;
				using (Service service = new Service()) {
					ServiceBase.Run(service);
				}
			}
		}

Same methods

Program::Main ( ) : void