Sending SMS from Silverlight
<UserControl xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" x:Class="HelloSilverlight.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
<Grid x:Name="LayoutRoot">
<Button Content="Send SMS" Click="Button_Click"></Button>
</Grid>
</UserControl>
Added a reference to http://www.freebiesms.co.uk/sendsms.asmx
Added using HelloSilverlight.FreebieSMS; to the namespace includes.
Then, this as the event handler
private void Button_Click(object sender, RoutedEventArgs e)
{
// Button clicked
sendSmsSoapClient SMS = new sendSmsSoapClient();
SMS.SendSmsAsync("Bob", "00447866069537", "00447866069535", "Test from Silverlight", "en-GB");
}
All downloadable from http://sites.google.com/site/freesmsuk/silverlight