mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
MainApplicationContext: code refactoring changes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Technitium DNS Server
|
Technitium DNS Server
|
||||||
Copyright (C) 2022 Shreyas Zare (shreyas@technitium.com)
|
Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com)
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -628,7 +628,7 @@ namespace DnsServerSystemTrayApp
|
|||||||
SetNetworkDnsToDefault();
|
SetNetworkDnsToDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetNetworkDnsToDefault(bool silent = false)
|
private static void SetNetworkDnsToDefault(bool silent = false)
|
||||||
{
|
{
|
||||||
if (!Program.IsAdmin)
|
if (!Program.IsAdmin)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user