C# 클래스 Com.Aurora.Shared.Helpers.WebHelper

파일 보기 프로젝트 열기: aurora-lzzp/Aurora-Weather

공개 메소드들

메소드 설명
IsInternet ( ) : bool
PostAsync ( Uri uri, StorageFile file ) : HttpProgress>>.Task
UploadFilesToServer ( Uri uri, string>.Dictionary data, string fileName, string fileContentType, byte fileData ) : void

Creates HTTP POST request & uploads database to server. Author : Farhan Ghumra

비공개 메소드들

메소드 설명
WriteMultipartForm ( Stream s, string boundary, string>.Dictionary data, string fileName, string fileContentType, byte fileData ) : void

Writes multi part HTTP POST request. Author : Farhan Ghumra

메소드 상세

IsInternet() 공개 정적인 메소드

public static IsInternet ( ) : bool
리턴 bool

PostAsync() 공개 정적인 메소드

public static PostAsync ( Uri uri, StorageFile file ) : HttpProgress>>.Task
uri Uri
file Windows.Storage.StorageFile
리턴 HttpProgress>>.Task

UploadFilesToServer() 공개 정적인 메소드

Creates HTTP POST request & uploads database to server. Author : Farhan Ghumra
public static UploadFilesToServer ( Uri uri, string>.Dictionary data, string fileName, string fileContentType, byte fileData ) : void
uri Uri
data string>.Dictionary
fileName string
fileContentType string
fileData byte
리턴 void