المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Help with getting data from web service into a named pipe stream



C# Programming
09-19-2009, 10:52 AM
Hi

I have created a web service, and I need to pass this data into a named pipe stream, which connects to an external device.

My web service is working well, and I have a method to retrieve data from the web service, which I can bound to a datagrid successfully. This tells me it is working correctly, and I can see my data.

However, where I am stuck is how to convert the data from the web service into either a string or bytes for the pipe to use and what is best way place the data on a named pipe in .Net?

Can anyone show me how to do this?

Thanks