C# 클래스 MBUtilities.URL

파일 보기 프로젝트 열기: MatthewCox/MoronBot

공개 메소드들

메소드 설명
FetchURL ( string url ) : WebPage

Fetches the page a URL refers to, and returns a WebPage struct.

Pastebin ( string text, string title = "", string expire = "10M", string format = "text", string privacy = "1" ) : string
ReceiveFromServer ( Stream responseStream ) : string
SendToServer ( string url ) : Stream
SendToServer ( string url, string text ) : Stream
Shorten ( string url ) : string
StripHTML ( string text ) : string

비공개 메소드들

메소드 설명
CheckValidationResult ( object sender, System certificate, System chain, System sslPolicyErrors ) : bool
GooglKey ( ) : string
ShortenGoogl ( string url ) : string

메소드 상세

FetchURL() 공개 정적인 메소드

Fetches the page a URL refers to, and returns a WebPage struct.
public static FetchURL ( string url ) : WebPage
url string The URL to fetch.
리턴 WebPage

Pastebin() 공개 정적인 메소드

public static Pastebin ( string text, string title = "", string expire = "10M", string format = "text", string privacy = "1" ) : string
text string
title string
expire string
format string
privacy string
리턴 string

ReceiveFromServer() 공개 정적인 메소드

public static ReceiveFromServer ( Stream responseStream ) : string
responseStream Stream
리턴 string

SendToServer() 공개 정적인 메소드

public static SendToServer ( string url ) : Stream
url string
리턴 Stream

SendToServer() 공개 정적인 메소드

public static SendToServer ( string url, string text ) : Stream
url string
text string
리턴 Stream

Shorten() 공개 정적인 메소드

public static Shorten ( string url ) : string
url string
리턴 string

StripHTML() 공개 정적인 메소드

public static StripHTML ( string text ) : string
text string
리턴 string