public override void ItemAdded(SPItemEventProperties properties)
{
//SPFile file1 = properties.ListItem.File;
SPSite site = new SPSite("http://win-ofut34hh848:33738");
using (SPWeb web = site.OpenWeb())
{
SPFolder folder = web.GetFolder("http://win-ofut34hh848:33738/TestDocLib");
int a = properties.AfterUrl.IndexOf('/') + 1;
int b = properties.AfterUrl.Length - (properties.AfterUrl.IndexOf('/') + 1);
SPFile file = folder.Files[properties.AfterUrl.Substring(a,b) ];
//byte[] buffer = new byte[];
//file.SaveBinary(buffer);
Stream m = file.OpenBinaryStream();// new MemoryStream(buffer);
ServiceReference1.Service1Client sc = new ServiceReference1.Service1Client();
sc.GetData(m);
}
//}
}