C# Class OpenTween.TwitVideo

Inheritance: OpenTween.HttpConnection
显示文件 Open project: rhenium/OpenTween

Public Methods

Method Description
CheckValidExtension ( string ext ) : bool
Upload ( System.IO.FileInfo mediaFile, string message, string keyword, string username, string twitter_id, string &content ) : System.Net.HttpStatusCode

Private Methods

Method Description
GetFileOpenDialogFilter ( ) : string
GetFileType ( string ext ) : OpenTween.MyCommon.UploadFileType
GetMaxFileSize ( string ext ) : long
IsSupportedFileType ( OpenTween.MyCommon.UploadFileType type ) : bool

Method Details

CheckValidExtension() public method

public CheckValidExtension ( string ext ) : bool
ext string
return bool

Upload() public method

public Upload ( System.IO.FileInfo mediaFile, string message, string keyword, string username, string twitter_id, string &content ) : System.Net.HttpStatusCode
mediaFile System.IO.FileInfo
message string
keyword string
username string
twitter_id string
content string
return System.Net.HttpStatusCode