프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BaseApiUrl | string |
메소드 | 설명 | |
---|---|---|
DeleteFile ( string hash ) : DeleteFileResult |
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 API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihashexists |
|
GetFileInfo ( string hash ) : |
Gets information about the file from the specified hash. API Doc Url: https://github.com/MediaCrush/MediaCrush/blob/master/docs/api.md#apihash |
|
GetFileInfos ( ) : SharpCrushMediaFile>.Dictionary |
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 |
|
UploadFile ( string file ) : |
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 ) : |
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 |
메소드 | 설명 | |
---|---|---|
Get ( string url ) : string | ||
Post ( string url, string post ) : string | ||
PostValues ( string url, string>.Dictionary |
||
Upload ( string url, string filePath ) : string |
public static DeleteFile ( string hash ) : DeleteFileResult | ||
hash | string | The hash of the file to delete |
리턴 | DeleteFileResult |
public static GetFileExists ( string hash ) : bool | ||
hash | string | The file hash to check |
리턴 | bool |
public static GetFileInfo ( string hash ) : |
||
hash | string | The hash of the file to get. |
리턴 |
public static GetFileInfos ( ) : SharpCrushMediaFile>.Dictionary |
||
리턴 | SharpCrushMediaFile>.Dictionary |
public static GetFileStatus ( string hash ) : GetFileStatusResult | ||
hash | string | The hash of the file to get the status of. |
리턴 | GetFileStatusResult |
public static UploadFile ( string file ) : |
||
file | string | The file to upload |
리턴 |
public static UploadUrl ( string url ) : |
||
url | string | The url to upload |
리턴 |