Exemple #1
0
 public NetshHelperTest(ITestOutputHelper output) : base(output, captureInTestOutput: true)
 {
     Assert.True(UacHelper.CheckProcessElevated(), "Only admin can run this test - restart as admin");
 }
Exemple #2
0
 public void Init()
 {
     Assert.IsTrue(UacHelper.CheckProcessElevated(), "Only admin can run this test - restart as admin");
 }