[C#] Get 방식으로 웹 페이지 읽기.
아, 요즘은 계속 Coders 카테고리에만 글 올리는 군요. C# 소스이고, 특정 url 의 결과를 Get 방식으로 얻어오는 코드 입니다. 자세한 설명은 생략합니다. (점점 이거 개인 노트화 되어 가는 듯.) using System.Net; using System.IO; public static string HttpGet(string url) { HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); webRequest.CookieContainer = new CookieContainer(); webRequest.Accept = "*/*"; webRequest.UserAgent = "Mozilla/4.0 (compatible; MSIE 6...
2013. 11. 19. 21:09