Parameters
- fileName
- File name.
- stream
- Stream with the data of the file field.
Return Value
true if information about file was added successfully, false otherwise.
| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown if file name or memory stream is null. |
Please see example here: PostData.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5