9 references to WindowsUtils
dotnet (7)
Commands\Workload\Install\NetSdkMsiInstallerServer.cs (3)
165
if (!
WindowsUtils
.IsAdministrator())
192
string pipeName =
WindowsUtils
.CreatePipeName(CurrentProcess.Id);
197
string logPipeName =
WindowsUtils
.CreatePipeName(CurrentProcess.Id, "log");
Installer\Windows\InstallClientElevationContext.cs (2)
55
InitializeDispatcher(new NamedPipeClientStream(".",
WindowsUtils
.CreatePipeName(_serverProcess.Id), PipeDirection.InOut));
61
_log.AddNamedPipe(
WindowsUtils
.CreatePipeName(_serverProcess.Id, "log"));
Installer\Windows\InstallElevationContextBase.cs (1)
26
public override bool IsElevated =>
WindowsUtils
.IsAdministrator();
Installer\Windows\InstallerBase.cs (1)
85
protected readonly bool RebootPending =
WindowsUtils
.RebootRequired();
dotnet-MsiInstallation.Tests (2)
Framework\VMControl.cs (2)
36
if (!
WindowsUtils
.IsAdministrator())
55
if (!
WindowsUtils
.IsAdministrator())