UtilHostsFileCreate Method

Creates the Hosts file.

Definition

Namespace: DevCase.Core.Networking.Security
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void FileCreate(
	bool overwrite
)

Parameters

overwrite  Boolean
If set to , overwrites the Hosts file.

Exceptions

IOException Hosts file already exists.

See Also