tgstation-server 5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IProcessFeatures.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
5{
10 {
17 Task<string> GetExecutingUsername(global::System.Diagnostics.Process process, CancellationToken cancellationToken);
18
23 void SuspendProcess(global::System.Diagnostics.Process process);
24
29 void ResumeProcess(global::System.Diagnostics.Process process);
30
38 Task CreateDump(global::System.Diagnostics.Process process, string outputFile, CancellationToken cancellationToken);
39 }
40}
Abstraction for suspending and resuming processes.
void SuspendProcess(global::System.Diagnostics.Process process)
Suspend a given process .
Task CreateDump(global::System.Diagnostics.Process process, string outputFile, CancellationToken cancellationToken)
Create a dump file for a given process .
void ResumeProcess(global::System.Diagnostics.Process process)
Resume a given suspended Process.
Task< string > GetExecutingUsername(global::System.Diagnostics.Process process, CancellationToken cancellationToken)
Get the name of the user executing a given process .