Csharp Code to make call By connecting you phone to PC
The following code can be used make call using C# code by connecting Mobile to your laptop through USB cable.
SerialPort celu = new SerialPort();
celu.PortName = textBox2.Text; // You have check what port your phone is using here, and replace it
celu.Open();
string cmd = "ATD"; // Here you put your AT command
string phoneNumber = textBox1.Text; // Here you put the phone number, for me it worked just with the phone number, not adding any other area code or something like that
celu.WriteLine(cmd + phoneNumber + ";\r");
Thread.Sleep(600);
string ss = celu.ReadExisting();
You may also like :
Basic steps to implement ASP dotnet MVC using Entity Framework Code First approach
SQL Query to Release lock on database
How to change URL withought page postback
Csharp Code to make call By connecting you phone to PC
BE Electronics ETC IT Computer Project Titles - Group 1
SQL Query to Split string by specific seperator
Simple Page Method in asp.net
Error 720 Resolution
Queries in LINQ to DataSet
BEWARE-XSS THIEVES ARE LOOKING FOR YOU
how to search date within range in c Sharp dot net and mssql
You may also like :