Convert a .NET stream to a JavaInputStream. This wraps the .Net stream in our wrapper.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Shared Function ConvertStream( _
ByVal stream As Stream _
) As java.io.InputStream |
| C# | |
|---|
public static java.io.InputStream ConvertStream(
Stream stream
) |
| Managed Extensions for C++ | |
|---|
public: static java.io.InputStream* ConvertStream(
Stream* stream
) |
| C++/CLI | |
|---|
public:
static java.io.InputStream^ ConvertStream(
Stream^ stream
) |
Parameters
- stream
- The .NET stream to read from.
Return Value
The Java nputStream containing the contents from the input stream.
Requirements
Platforms: Windows 10, Windows NT, Windows Server
See Also