Hello,
If its web application, at that instance ASP.NET is prefered. If its windows apps then it will be either only c# or vb .net. You cant use System.Web Namespace in windows forms.
Clear ?
Enquire to them clearly about this, which assembly u r goin to use.
Then, For this SMS Stuff there are free web services available to send SMS from our apps.
Check
http://www.freebiesms.co.uk/developers.aspx
Also, u can use achieve this through System.Runtime.InteropServices assembly.
Here is a mock code which i shoot from a sight
using System.Runtime.InteropServices;
...
// Public Declare Function SmsOpen Lib "SMS" (ByVal ptsMessageProtocol As String, ByVal dwMessageModes As Long, ByRef psmshHandle As Long, ByRef phMessageAvailableEvent As Long) As Long
[DllImport("SMS")]
public static extern long SmsOpen (string ptsMessageProtocol, long dwMessageModes, ref long psmshHandle, ref long phMessageAvailableEvent);
// Public Declare Function SmsSendMessage Lib "SMS" (ByVal smshHandle As Long, ByVal psmsaSMSCAddress As Long, ByVal psmsaDestinationAddress As String, ByVal pstValidityPeriod As Long, ByVal pbData As String, ByVal dwDataSize As Long, ByVal pbProviderSpecificData As String, ByVal dwProviderSpecificDataSize As Long, ByVal smsdeDataEncoding As Long, ByVal dwOptions As Long, ByRef psmsmidMessageID As Long) As Long
[DllImport("SMS")]
public static extern long SmsSendMessage (long smshHandle, long psmsaSMSCAddress, string psmsaDestinationAddress, long pstValidityPeriod, string pbData, long dwDataSize, string pbProviderSpecificData, long dwProviderSpecificDataSize, long smsdeDataEncoding, long dwOptions, long psmsmidMessageID);
// Public Declare Function SmsClose Lib "SMS" (ByVal smshHandle As Long) As Long
[DllImport("SMS")]
public static extern long SmsClose (long smshHandle);
//Public Const SMS_MSGTYPE_TEXT = "Microsoft Text SMS Protocol"
public const string SMS_MSGTYPE_TEXT = "Microsoft Text SMS Protocol";
// Public Const SMS_MODE_SEND = 2 ' Open in send mode
public const long SMS_MODE_SEND = 2;
// Public Const SMSDE_GSM = 1 ' Use standard GSM encoding
public const long SMSDE_GSM = 1;
Public Const SMSAT_INTERNATIONAL = 1 ' International number format
public const long SMSAT_INTERNATIONAL = 1;
Public Const PS_MESSAGE_OPTION_NONE = 0 ' No message options
public const long PS_MESSAGE_OPTION_NONE = 0;
Public Const PS_MESSAGE_CLASS0 = 0 ' Send immediately
public const long PS_MESSAGE_CLASS0 = 0;
Public Const PSRO_NONE = 0 ' No replacements
public const long PSRO_NONE = 0;
Public Const SMS_OPTION_DELIVERY_NONE = 0 ' No delivery options
public const long SMS_OPTION_DELIVERY_NONE = 0;
:)