tgstation-server 6.12.0
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 {
16 string GetExecutingUsername(global::System.Diagnostics.Process process);
17
22 void SuspendProcess(global::System.Diagnostics.Process process);
23
28 void ResumeProcess(global::System.Diagnostics.Process process);
29
38 ValueTask CreateDump(global::System.Diagnostics.Process process, string outputFile, bool minidump, CancellationToken cancellationToken);
39
46 ValueTask<int> HandleProcessStart(global::System.Diagnostics.Process process, CancellationToken cancellationToken);
47 }
48}
Abstraction for suspending and resuming processes.
string GetExecutingUsername(global::System.Diagnostics.Process process)
Get the name of the user executing a given process .
ValueTask CreateDump(global::System.Diagnostics.Process process, string outputFile, bool minidump, CancellationToken cancellationToken)
Create a dump file for a given process .
void SuspendProcess(global::System.Diagnostics.Process process)
Suspend a given process .
ValueTask< int > HandleProcessStart(global::System.Diagnostics.Process process, CancellationToken cancellationToken)
Run events on starting a process.
void ResumeProcess(global::System.Diagnostics.Process process)
Resume a given suspended global::System.Diagnostics.Process.