//System.Reflection library is required
Methods for SMS 5sim:
1)insert new GAC references in your project.
2) go to C:\Program Files\ZennoLab\EN\ZennoPoster Pro\5.47.0.0\Progs from GAC references
3)Select file SmsActivate.dll
4)Insert new in your project : Using Directives and share code
5)write;
using SmsActivate;;
//for 5 Sim SMS Methods
Type sms = AppDomain.CurrentDomain.GetAssemblies().First(x => x.FullName.IndexOf("SmsActivate", StringComparison.OrdinalIgnoreCase) != -1).GetType("SmsActivate.SmsActivateConfigurator");
System.Reflection.MethodInfo[] methodInfos = sms.GetMethods(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance);
string ConcatenateInfoParameters = "";
string resulFinal = "";
int NoLast = 0;
foreach (System.Reflection.MethodInfo methodInfo in methodInfos)
{
string zero = "MethodName = " + methodInfo.Name;
System.Reflection.ParameterInfo[] pars = methodInfo.GetParameters();
int last = methodInfo.GetParameters().Length;
foreach (System.Reflection.ParameterInfo p in pars){
string one = String.Format("{0}",p.Name);
string two = String.Format("{0}",p.ParameterType);
if (NoLast < last-1){
ConcatenateInfoParameters += "Name = " + one + ", Type = " + two + " ; ";
NoLast++;
}
else{
NoLast++;
}
if (NoLast == last){
ConcatenateInfoParameters += "Name = " + one + ", Type = " + two;
}
}
//Output to log
project.SendInfoToLog(zero + " With Parameters = (" + ConcatenateInfoParameters+ ")");
resulFinal += zero + " With Parameters = (" + ConcatenateInfoParameters+ ")" + "\r\n";
ConcatenateInfoParameters = "";
NoLast = 0;
}
//Output to windows clipboard
System.Windows.Forms.Clipboard.SetText(resulFinal);
project.SendInfoToLog("RESULTS COPIED TO THE CLIPBOARD");
//output
MethodName = get_AuthType With Parameters = ()
MethodName = get_ServiceName With Parameters = ()
MethodName = get_Login With Parameters = ()
MethodName = set_Login With Parameters = (Name = value, Type = System.String)
MethodName = get_Password With Parameters = ()
MethodName = set_Password With Parameters = (Name = value, Type = System.String)
MethodName = get_SecretKey With Parameters = ()
MethodName = set_SecretKey With Parameters = (Name = value, Type = System.String)
MethodName = get_AdditionalParameters With Parameters = ()
MethodName = set_AdditionalParameters With Parameters = (Name = value, Type = System.String)
MethodName = get_AdditionalParametersHint With Parameters = ()
MethodName = get_CreateAccauntLink With Parameters = ()
MethodName = get_Icon With Parameters = ()
MethodName = Equals With Parameters = (Name = obj, Type = System.Object)
MethodName = GetHashCode With Parameters = ()
MethodName = GetType With Parameters = ()
MethodName = ToString With Parameters = ()