UtilHostsFileCreate Method
Creates the Hosts file.
Namespace: DevCase.Core.Networking.SecurityAssembly: 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
)
Public Shared Sub FileCreate (
overwrite As Boolean
)
Dim overwrite As Boolean
UtilHosts.FileCreate(overwrite)
public:
static void FileCreate(
bool overwrite
)
static member FileCreate :
overwrite : bool -> unit
No code example is currently available or this language may not be supported.
Parameters
- overwrite Boolean
-
If set to , overwrites the Hosts file.
IOException
|
Hosts file already exists.
|