public string ShareMeta(AMeta meta) { ResetParams(); string url = string.Format(KuaipanServer.SHARE_META, _Root, meta.GetMetaPath()); PrepareParams(); AddParam(OAuthConstants.OAUTH_TOKEN, Token.Token); SortParam(); AddParam(OAuthConstants.OAUTH_SIGNATURE, Signature(GenerateBaseString(_Server.RequestTokenUrl))); string t = GenBaseParams(); byte[] r = _Server.Get(url, t); if (r == null || r.Length < 1) { return null; } t = GetString(r); // Jason return ""; }
public List<AMeta> ListMeta(AMeta meta) { string url = string.Format(KuaipanServer.LIST_META, _Root, meta.GetMetaPath()); return ListMeta(url); }