all groups > dotnet web services > february 2008 >
You're in the

dotnet web services

group:

WCF and fileStream



WCF and fileStream Ross
2/29/2008 7:48:06 AM
dotnet web services: Is it possible to pass a file stream in WCF and if so can you pass an
array of them?

Re: WCF and fileStream Tiago Halm
3/1/2008 1:57:32 AM
For a "stream" define an operation like:
byte[] GetFile(string filename);

For an array of "streams", try:
byte[][] GetFiles(string directoryName);
or
List<byte[]> GetFiles(string directoryName);

Tiago Halm

[quoted text, click to view]

Re: WCF and fileStream Ross
3/1/2008 3:25:04 AM
[quoted text, click to view]

Re: WCF and fileStream Tiago Halm
3/1/2008 11:36:45 PM
no :) The below are examples of operations you'd need to implement for the
purposes you described.

Tiago Halm

[quoted text, click to view]

Is Getfile or Getfiles an existing method?

AddThis Social Bookmark Button