Skip to content

Commit 510f538

Browse files
committed
merge from qiniu/master
2 parents b444427 + 32e12df commit 510f538

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
*.swp

Docs/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
---
2+
title: C# SDK | 七牛云存储
3+
---
4+
25
# C# SDK 使用指南
36

47

58
此 SDK 适用于 .NET4 及以上版本。
69

7-
SDK下载地址:[https://github.com/qiniu/csharp-sdk](https://github.com/qiniu/csharp-sdk)
10+
SDK下载地址:[https://github.com/qiniu/csharp-sdk/tags](https://github.com/qiniu/csharp-sdk/tags)
811

912

1013
**应用接入**
@@ -62,10 +65,10 @@ SDK下载地址:[https://github.com/qiniu/csharp-sdk](https://github.com/qiniu
6265

6366
// 首先定义资源表名
6467
string tableName = "tableName";
65-
68+
6669
// 然后获得签名认证
6770
DigestAuthClient conn = new DigestAuthClient();
68-
71+
6972
// 签名认证完成后,即可使用该认证来新建资源表
7073
RSService rs = new RSService(conn, tableName);
7174
CallRet callRet = rs.MkBucket();
@@ -100,7 +103,7 @@ SDK下载地址:[https://github.com/qiniu/csharp-sdk](https://github.com/qiniu
100103
###### 2.2.2 使用临时URL上传文件
101104

102105
// 通过该临时 URL 进行文件上传
103-
PutFileRet putFileRet = RSClient.PutFile(uploadUrl, tableName, key, mimeType,
106+
PutFileRet putFileRet = RSClient.PutFile(uploadUrl, tableName, key, mimeType,
104107
filePath, customMeta, callbackParam);
105108

106109
<a name="client-PutFileWithUpToke"></a>
@@ -127,7 +130,7 @@ SDK下载地址:[https://github.com/qiniu/csharp-sdk](https://github.com/qiniu
127130
### 3. 获取已上传文件信息
128131

129132
您可以调用资源表对象的 Stat() 方法并传入一个 Key 来获取指定文件的相关信息。
130-
133+
131134
// 获取资源表中特定文件信息
132135
StatRet statRet = rs.Stat(key);
133136

0 commit comments

Comments
 (0)