string
loginName
= "spread@reasonables.com";
string
loginPassword
= "spread";
string
customerEmail
= "alan@reasonables.com";
string
targetSubscription
= "NoClone
VIP";
DoubleOptIn addOption = DoubleOptIn.Off;
bool
confirmIsNeeded;
//Create a Subscriber
object
Subscriber customer =
new Subscriber();
customer.email =
"alan@reasonables.com";
customer.firstName =
"Alan";
customer.lastName =
"Wo";
customer.company =
"Reasonable Software";
//Create a SpreadWebService
object and use its method.
SpreadWebService MySpread = new
SpreadWebService();
confirmIsNeeded
= MySpread.addSubscriberByInfo (loginName, loginPassword, customer, targetSubscription,
addOption);