Getting a (File)stream

I am currently toying around with the youtube api , uploading videos for example. The Insert method used to upload the video expects a stream as input. In C# it looks like this:

In VL tried with File[IO] which returns Provider<Stream> and an Using region.
2019-04-16%2011_24_50_VL-

But this results in the following exception:
2019-04-16%2011_25_27-_Exception

Importing mscorlib and using Create [System.IO.FileStream] works.

So what is the difference or what did I do wrong when using File[IO] ?

Try moving the upload and the result nodes into the using region, similar how you see it in c# snippet.

Works. Thanks.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.