SpreadWebServcie.TransferCredit Method
下面例子展示了如何轉送流量給其他用戶.
參數
參數
|
類型
|
描述
|
loginEmail
|
String
|
Spread賬號的登錄郵件.
|
password
|
String
|
Spread賬號的密碼或者API Key.
|
transferToEmail
|
String
|
轉入賬號的郵箱地址.
|
creditCount
|
int
|
轉送流量的總數.
|
返回結果
True
如果成功.否則,False.
例子
string loginName = "spread@reasonables.com";
string loginPassword = "spread";
string transferToEmail = "ToSpread@reasonables.com";
int creditCount = 123456;
SpreadWS.SpreadWebService mySpread =
new SpreadWS.SpreadWebService();
bool result = mySpread.TransferCredit(loginName, loginPassword,
transferToEmail,
creditCount);
參見
SpreadWebService
Class | Spread Web Service Namespace