I have a windows service that needs to send an attachment through email. This service does not have access to the file location. So, I need to write something that the windows service will call and get the file stream from.
What is the best approach to acc开发者_C百科omplish this.
I have tried creating a webservice that will write the stream to the output stream of the request, but then i am having issues with calling the webservice.
Is .NET remoting an option? You can send a base64 string through a .net remoting message and then process it when it is received by the service.
精彩评论