Method | Description | |
---|---|---|
GetRecord ( ) : string |
Returns a valid formatted host entry for writing to the hosts file.
|
|
NewHostEntry ( string hostname, string ipAddress ) : |
||
Parse ( string hostEntryLine ) : |
Parses a line from the host file into an HostEntry object.
|
Method | Description | |
---|---|---|
HostEntry ( ) : System | ||
HostEntry ( string hostEntryLine ) : System |
public static NewHostEntry ( string hostname, string ipAddress ) : |
||
hostname | string | |
ipAddress | string | |
return |
public static Parse ( string hostEntryLine ) : |
||
hostEntryLine | string | The line from the hosts file to parse. |
return |