Binary data in app.config

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Binary data in app.config

 
0
  #1
May 4th, 2005
Let's see if I can completely strike-out, with a third unanswered post:

I would like to know how to store binary data in the app.config file for a C# application.

These are basically text strings, but they do include one or two "binary" characters, such as decimal 12.

I need these strings in my application, but would like to store them in the app.config file and get them with ConfigurationSettings.AppSettings.Get().
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 117
Reputation: Iron_Cross is an unknown quantity at this point 
Solved Threads: 2
Iron_Cross's Avatar
Iron_Cross Iron_Cross is offline Offline
Junior Poster

Re: Binary data in app.config

 
0
  #2
May 10th, 2005
Are you wanting to store it as

<somesetting>12</somesetting>
or
<somesetting>1100</somesetting>
?
What I'm asking is, by binary data, are you wanting to write is as binary, or just write it, or write it using something like a binarywriter? If I figure that out, I bet I could help you
elitehackers.info
Today's Penny-Arcade!
Pain is weakness leaving the body!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC