Home
API Overview
Price Lists
Rapaport Price List API
Price List Structure
Upload Diamonds
Fields and Values
Upload CSV files
Keep Inventory Up-to-date
Upload Results
Images and Certificates
Upload Using Excel
Upload Using API
Upload Jewelry
Instant Inventory
Ready-to-use Widgets
Custom Integration
Generate your own code
Download Listing Service
Integration
Help and Support Forums
Support Forum
Developer Forum
Sample Code
More Information
Rapaport Websites
Download Center
Updates
Subscribe to Rapaport
Save a byte array as a file in (C#)
//to save binary files:
//using System.IO;
//responseBytes is the byte array
FileStream
fs =
new
FileStream
(
"c:\\result3.csv"
,
FileMode
.Create,
FileAccess
.ReadWrite);
BinaryWriter
bw =
new
BinaryWriter
(fs);
bw.Write(responseBytes);
bw.Close();