Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Convert from System.IO.FileStream to InStream

$
0
0
Hi there

I'm trying to load the FileStream of a file on the client with System.IO.File.OpenRead() into a InStream but I get the error:

Unable to convert from Runtime.NavDotNet to Nav.Runtime.NavInStream

FileStream := ClientFile.OpenRead(ClientFilePath);
InStr := FileStream;

I tried with different .NET Stream types and with COPYSTREAM but no luck so far... :-(
What am I missing here? Does anyone have a working example?

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>