Diamonds.Net
RapNet.com
Rapaport Auctions
Fair Trade
More
Rapaport GIA LabDirect
Rapaport TechNet
Login
Register
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
IT professional registration
Rapaport technical advisories
Latest updates
Downloads
RapNet 06
TradeLink
Rapaport online
www.diamonds.net
www.rapnet.com
Rapaport Prices code samples and helpful tips
Back to Available Formats
Full HTTP POST Example (C#)
HTTP POST with WebClient (C#)
HTTP POST with WebRequest (C#)
WebService Code Example (C#)
Coldfusion Code Example
Linux Script Example
Java Web Service Example
VBA Code Example
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);
}