C# 클래스 SharpCrush45.SharpCrush

MediaCrush API Wrapper
파일 보기 프로젝트 열기: headdetect/SharpCrush

공개 메소드들

메소드 설명
DeleteFile ( string hash ) : DeleteFileResult

Attempts to delete the specified files

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists

DeleteFileAsync ( string hash ) : Task

Attempts to delete the specified files

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists

GetFileExists ( string hash ) : bool

Returns true if the specified file exists; false otherwise

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists

GetFileExistsAsync ( string hash ) : Task

Returns true if the specified file exists; false otherwise

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists

GetFileInfo ( string hash ) : object

Gets information about the file whose hash is specified.

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihash

GetFileInfoAsync ( string hash ) : Task

Gets information about the file whose hash is specified.

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihash

GetFileInfos ( ) : object[]

Gets information about the files whose hashes are specified.

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiinfolisthash

GetFileInfosAsync ( ) : Task

Gets information about the files whose hashes are specified.

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiinfolisthash

GetFileStatus ( string hash ) : GetFileStatusResult

Attempts to get the status of the specified file

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashstatus

GetFileStatusAsync ( string hash ) : Task

Attempts to get the status of the specified file

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashstatus

UploadFile ( object file ) : FileUploadResult

Upload the specified file to the MediaCrush (or other) server.

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiuploadfile

UploadFileAsync ( object file ) : Task

Upload the specified file to the MediaCrush (or other) server.

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiuploadfile

UploadUrl ( string url ) : UrlUploadResult

Upload the specified file from url to the MediaCrush (or other) server.

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiuploadurl

UploadUrlAsync ( string url ) : Task

Upload the specified file from url to the MediaCrush (or other) server.

API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiuploadurl

메소드 상세

DeleteFile() 공개 정적인 메소드

Attempts to delete the specified files
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists
public static DeleteFile ( string hash ) : DeleteFileResult
hash string The hash of the file to delete
리턴 DeleteFileResult

DeleteFileAsync() 공개 정적인 메소드

Attempts to delete the specified files
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists
public static DeleteFileAsync ( string hash ) : Task
hash string The hash of the file to delete
리턴 Task

GetFileExists() 공개 정적인 메소드

Returns true if the specified file exists; false otherwise
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists
public static GetFileExists ( string hash ) : bool
hash string The file hash to check
리턴 bool

GetFileExistsAsync() 공개 정적인 메소드

Returns true if the specified file exists; false otherwise
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists
public static GetFileExistsAsync ( string hash ) : Task
hash string The file hash to check
리턴 Task

GetFileInfo() 공개 정적인 메소드

Gets information about the file whose hash is specified.
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihash
public static GetFileInfo ( string hash ) : object
hash string The hash of the file to get.
리턴 object

GetFileInfoAsync() 공개 정적인 메소드

Gets information about the file whose hash is specified.
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihash
public static GetFileInfoAsync ( string hash ) : Task
hash string The hash of the file to get.
리턴 Task

GetFileInfos() 공개 정적인 메소드

Gets information about the files whose hashes are specified.
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiinfolisthash
public static GetFileInfos ( ) : object[]
리턴 object[]

GetFileInfosAsync() 공개 정적인 메소드

Gets information about the files whose hashes are specified.
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiinfolisthash
public static GetFileInfosAsync ( ) : Task
리턴 Task

GetFileStatus() 공개 정적인 메소드

Attempts to get the status of the specified file
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashstatus
public static GetFileStatus ( string hash ) : GetFileStatusResult
hash string The hash of the file to get the status of.
리턴 GetFileStatusResult

GetFileStatusAsync() 공개 정적인 메소드

Attempts to get the status of the specified file
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashstatus
public static GetFileStatusAsync ( string hash ) : Task
hash string The hash of the file to get the status of.
리턴 Task

UploadFile() 공개 정적인 메소드

Upload the specified file to the MediaCrush (or other) server.
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiuploadfile
public static UploadFile ( object file ) : FileUploadResult
file object The file to upload
리턴 FileUploadResult

UploadFileAsync() 공개 정적인 메소드

Upload the specified file to the MediaCrush (or other) server.
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiuploadfile
public static UploadFileAsync ( object file ) : Task
file object The file to upload
리턴 Task

UploadUrl() 공개 정적인 메소드

Upload the specified file from url to the MediaCrush (or other) server.
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiuploadurl
public static UploadUrl ( string url ) : UrlUploadResult
url string The url to upload
리턴 UrlUploadResult

UploadUrlAsync() 공개 정적인 메소드

Upload the specified file from url to the MediaCrush (or other) server.
API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apiuploadurl
public static UploadUrlAsync ( string url ) : Task
url string The url to upload
리턴 Task