C# 클래스 Core.WebHelper

파일 보기 프로젝트 열기: woodhojuli/Twitstrip

공개 메소드들

메소드 설명
GetBytesFromURL ( string sURL ) : byte[]
GetWebResponse ( String sURL, String sMethod ) : System.Stream
GetWebResponse ( String sURL, String sMethod, string sUserName, string sPassword ) : System.Stream
UrlDecode ( string text ) : string

UrlDecodes a string without requiring System.Web

This is to avoid including system.web which means it can use the client only version of the framework, giving a potentially smaller framework download

비공개 메소드들

메소드 설명
CopyStreamToByteArray ( System.Stream Stream ) : byte[]

For copying a non-seekable stream to a byte array

메소드 상세

GetBytesFromURL() 공개 정적인 메소드

public static GetBytesFromURL ( string sURL ) : byte[]
sURL string
리턴 byte[]

GetWebResponse() 공개 정적인 메소드

public static GetWebResponse ( String sURL, String sMethod ) : System.Stream
sURL String
sMethod String
리턴 System.Stream

GetWebResponse() 공개 정적인 메소드

public static GetWebResponse ( String sURL, String sMethod, string sUserName, string sPassword ) : System.Stream
sURL String
sMethod String
sUserName string
sPassword string
리턴 System.Stream

UrlDecode() 공개 정적인 메소드

UrlDecodes a string without requiring System.Web
This is to avoid including system.web which means it can use the client only version of the framework, giving a potentially smaller framework download
public static UrlDecode ( string text ) : string
text string
리턴 string