메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
HostEntry ( ) : System | ||
HostEntry ( string hostEntryLine ) : System |
public static NewHostEntry ( string hostname, string ipAddress ) : |
||
hostname | string | |
ipAddress | string | |
리턴 |
public static Parse ( string hostEntryLine ) : |
||
hostEntryLine | string | The line from the hosts file to parse. |
리턴 |