How can we help?

Using Auron SMS Component in C# .Net


Add a reference to the SMS Component object using the Visual C# Solution Explorer:

  • Start the Solution Explorer view, go to the project’s ‘References’ container
  • Choose ‘Add Reference’ from the context menu
  • Select the COM tab, choose the ‘Auron SMS Component’ component

The following code shows how to declare, create and use one of the SMS Component objects:

using AxSms;

...
    
AxSms.Gsm objGsm;                                      // Declaration
objGsm = new AxSms.Gsm();                              // Creation

// Display version information
Console.WriteLine("Auron SMS Component {0}\n", objGsm.Version);