Skip to content
On this page

Shuttle.Core.System

PM> Install-Package Shuttle.Core.System

OS and system level abstractions.

IEnvironmentService

The default implement is EnvironmentService.

bool UserInteractive { get; }

Return true if running as a console application; else false.

IProcessService

The default implementation is ProcessService.

IProcess GetCurrentProcess();

Returns the IProcess abstraction for the current process.

IProcess

Represents a system process and the default implementation is SystemProcess.

void Kill();

Kills the process.

Shuttle.Core.System has loaded