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