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