현재 외부 IP (Public IP) 가져오는 법
https://api.ipify.org/
짱짱맨이다. 키키키
C#으로 포팅한다면 다음과 같겠지..
public static string getPublicIp() { return new WebClient().DownloadString("https://api.ipify.org/"); }
'C#' 카테고리의 다른 글
웹브라우저에서 alert 창 hook하기 (1) | 2015.11.17 |
---|---|
ILMerge 오류 Unresolved assembly reference not allowed System.Core (0) | 2015.10.09 |
웹브라우저 HtmlElement 캡처하기 c# capture webbrowser html element (0) | 2015.10.07 |
ILMerge로 dll을 exe에 병합하기 (0) | 2015.10.05 |
UTF8 <-> EUC-KR (URI Encoding) (0) | 2015.08.20 |