Méthode | 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.
|
Méthode | Description | |
---|---|---|
HostEntry ( ) : System | ||
HostEntry ( string hostEntryLine ) : System |
public static NewHostEntry ( string hostname, string ipAddress ) : |
||
hostname | string | |
ipAddress | string | |
Résultat |
public static Parse ( string hostEntryLine ) : |
||
hostEntryLine | string | The line from the hosts file to parse. |
Résultat |