http://mobilitydojo.net/2008/10/09/using-a-hosts-file-on-windows-mobile/
path
[code]
HKLM\Comm\Tcpip\Hosts
[/code]
t can be found in HKLM\Comm\Tcpip\Hosts. Do the following:
- Add a subkey which is the host name/FQDN.
- Add a Binary value ipaddr containing to hexadecimal notation of the IP address.
- Add a Binary value ExpireTime containing an expiration value. I think this is actually optional, or you can just set it to a large value – say “99 99 99 99 99 99 99”. (As in never expire basically.)
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\servername]
"ipaddr"=hex:a1,a3,a5,a9
"ExpireTime"=hex:99,99,99,99,99,99,99
path
[code]
HKLM\Comm\Tcpip\Hosts
[/code]
t can be found in HKLM\Comm\Tcpip\Hosts. Do the following:
- Add a subkey which is the host name/FQDN.
- Add a Binary value ipaddr containing to hexadecimal notation of the IP address.
- Add a Binary value ExpireTime containing an expiration value. I think this is actually optional, or you can just set it to a large value – say “99 99 99 99 99 99 99”. (As in never expire basically.)
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts\servername]
"ipaddr"=hex:a1,a3,a5,a9
"ExpireTime"=hex:99,99,99,99,99,99,99
'Windows > MFC' 카테고리의 다른 글
31 day of windows phone 7 (0) | 2013.10.02 |
---|---|
Opening a File for Reading or Writing (0) | 2013.10.02 |
Free ebook: Petzold’s Programming Windows Phone 7 (Special Excerpt 2) (0) | 2013.10.02 |
wifi interface sample code (0) | 2013.10.02 |
release mode 에서 debuging 하기 (0) | 2013.10.02 |