How to
•
Upload inventory to RapNet
•
Download Rapaport price data
•
List RapNet inventory on my website
•
Upload certificates
•
Integrate the Rapaport Price List
•
Keep inventory on RapNet
•
Code samples
About
RapNet upload
Rapaport Price Lists
RapLink⢠Diamond Feed
TradeLink
RapNet06
Glossary
Community
Support forum
Developer forum
Standards forum
IT professional registration
Rapaport technical advisories
Latest updates
Downloads
RapNet 06
TradeLink
Rapaport online
www.diamonds.net
www.rapnet.com
Rapaport Lot Upload code samples and helpful tips
Back to RapNet Upload
Full HTTP POST/WebRequest Example (C#) and CSV file
HTTP POST/WebClient (C#) and CSV formated string
HTTP POST/WebClient (C#) and CSV file
HTTP POST/WebClient (VBA) and CSV file
WebService Code Example (C#)
Other code samples:
Save a byte array as a file in (C#)
Working with streams (C#)
Saving text files with TextWriter (C#)
Requesting a compressed Gzip response(C#)
//save string to a file.
//using System.IO;
string
str =
"my string"
;
using
(
TextWriter
tw =
new
StreamWriter
(
"c:\\file.txt"
,
true
))
{
tw.Write(str);
}