C# Class ACRCloudUploadFile.ACRCloudUploadFile

Afficher le fichier Open project: acrcloud/webapi_example Class Usage Examples

Méthodes publiques

Méthode Description
EncodeToBase64 ( byte input ) : string
EncryptByHMACSHA1 ( string input, string key ) : string
PostHttp ( string url, Object>.IDictionary headerParams, Object>.IDictionary postParams, int timeoutSecond ) : string
Upload ( Object>.IDictionary audioParams, Object>.IDictionary userParams, int timeoutSecond ) : string

Private Methods

Méthode Description
Main ( string args ) : void

Method Details

EncodeToBase64() public static méthode

public static EncodeToBase64 ( byte input ) : string
input byte
Résultat string

EncryptByHMACSHA1() public static méthode

public static EncryptByHMACSHA1 ( string input, string key ) : string
input string
key string
Résultat string

PostHttp() public static méthode

public static PostHttp ( string url, Object>.IDictionary headerParams, Object>.IDictionary postParams, int timeoutSecond ) : string
url string
headerParams Object>.IDictionary
postParams Object>.IDictionary
timeoutSecond int
Résultat string

Upload() public static méthode

public static Upload ( Object>.IDictionary audioParams, Object>.IDictionary userParams, int timeoutSecond ) : string
audioParams Object>.IDictionary
userParams Object>.IDictionary
timeoutSecond int
Résultat string