ZennoLab Assemblies Documentation
GetNumber Method (ZennoPoster.Sms)
Example 

Type: System.String

Name of service dll.

Type: System.String

Result number.

Type: System.String

Type of service (for example ya - Yandex) .

Type: System.String

Number operator or number country.

Type: System.Boolean

Use forward.

Type: System.String

Additional query parameters.

Get number from service and return number and ID of operation.
Syntax
public static string GetNumber( 
   string serviceDll,
   out string number,
   string service,
   string oper,
   Nullable<bool> forward,
   string param
)

Parameters

serviceDll

Type: System.String

Name of service dll.

number

Type: System.String

Result number.

service

Type: System.String

Type of service (for example ya - Yandex) .

oper

Type: System.String

Number operator or number country.

forward

Type: System.Boolean

Use forward.

param

Type: System.String

Additional query parameters.

Return Value

Type: System.String

Operation ID.

Remarks

Example
string number;
var id = ZennoPoster.Sms.GetNumber("SmsReg.dll", out number, "other", "ru");
$number = "";
$rowCount = ZennoLab\CommandCenter\ZennoPoster::Sms::GetNumber("SmsReg.dll", $number, "other", "ru");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ZennoPoster.Sms Class
ZennoPoster.Sms Members
SetStatus Method
GetStatus Method

Send Feedback