Files
ThreadPilot/Services/IElevationService.cs
2026-06-24 17:52:45 +02:00

19 lines
400 B
C#

namespace ThreadPilot.Services
{
using System.Threading.Tasks;
public interface IElevationService
{
bool IsRunningAsAdministrator();
Task<bool> RequestElevationIfNeeded();
Task<bool> RestartWithElevation(string[]? arguments = null);
bool ValidateElevationForOperation(string operation);
string GetElevationStatus();
}
}