Méthode | Description | |
---|---|---|
DnsCryptProxyManager ( DnsCryptProxyType dnsCryptProxyType = DnsCryptProxyType.Primary ) : System |
Initialize a new DnsCryptProxyManager instance.
|
|
FixImagePath ( DnsCryptProxyType dnsCryptProxyType ) : void |
Add quotation marks for existing installations. This fixes a vulnerability, where the dnscrypt-proxy path contains spaces. Thanks to @rugk! |
|
Install ( ) : ProcessResult |
Install the dnscrypt-proxy service.
|
|
IsDnsCryptProxyInstalled ( ) : bool |
Check if the DNSCrypt proxy service is installed.
|
|
IsDnsCryptProxyRunning ( ) : bool |
Check if the DNSCrypt proxy service is running.
|
|
ReadRegistry ( DnsCryptProxyType dnsCryptProxyType ) : void |
Read the current registry values.
|
|
Restart ( ) : bool |
Restart the dnscrypt-proxy service.
|
|
Start ( ) : bool |
Start the dnscrypt-proxy service.
|
|
Stop ( ) : bool |
Stop the dnscrypt-proxy service.
|
|
Uninstall ( ) : ProcessResult |
Uninstall the dnscrypt-proxy service.
|
|
WriteRegistry ( DnsCryptProxyType dnsCryptProxyType ) : bool |
Write the data to the registry.
|
public DnsCryptProxyManager ( DnsCryptProxyType dnsCryptProxyType = DnsCryptProxyType.Primary ) : System | ||
dnsCryptProxyType | DnsCryptProxyType | |
Résultat | System |
public FixImagePath ( DnsCryptProxyType dnsCryptProxyType ) : void | ||
dnsCryptProxyType | DnsCryptProxyType | |
Résultat | void |
public ReadRegistry ( DnsCryptProxyType dnsCryptProxyType ) : void | ||
dnsCryptProxyType | DnsCryptProxyType | Type of the proxy (primary or secondary) |
Résultat | void |
public WriteRegistry ( DnsCryptProxyType dnsCryptProxyType ) : bool | ||
dnsCryptProxyType | DnsCryptProxyType | Type of the proxy (primary or secondary) |
Résultat | bool |